Initial MetaCrate rewrite shell

This commit is contained in:
2026-08-08 09:49:22 +02:00
commit 115425cea7
66 changed files with 56984 additions and 0 deletions

View 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
}
}