Initial MetaCrate rewrite shell
This commit is contained in:
commit
115425cea7
66 files changed
+56984
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -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