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,16 @@
[package]
name = "libremetaverse"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "Rust rewrite shell for the LibreMetaverse client library"
[dependencies]
libremetaverse-imaging = { path = "../libremetaverse-imaging" }
libremetaverse-structured-data = { path = "../libremetaverse-structured-data" }
libremetaverse-types = { path = "../libremetaverse-types" }
[lints]
workspace = true

File diff suppressed because it is too large Load Diff

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