Initial MetaCrate rewrite shell
This commit is contained in:
20
crates/libremetaverse/src/lib.rs
Normal file
20
crates/libremetaverse/src/lib.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
//! Public rewrite shell corresponding to the main `LibreMetaverse` assembly.
|
||||
|
||||
mod generated;
|
||||
|
||||
pub use generated::*;
|
||||
pub use libremetaverse_imaging as imaging_abstractions;
|
||||
pub use libremetaverse_structured_data as structured_data;
|
||||
pub use libremetaverse_types as types;
|
||||
|
||||
/// Common behavior for program shims while the network stack is unimplemented.
|
||||
pub mod shim {
|
||||
use std::process::ExitCode;
|
||||
|
||||
/// Reports that an upstream sample has a target but no implementation yet.
|
||||
#[must_use]
|
||||
pub fn pending_program(name: &str) -> ExitCode {
|
||||
eprintln!("{name}: LibreMetaverse Rust port is not implemented yet");
|
||||
ExitCode::FAILURE
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user