Initial MetaCrate rewrite shell
This commit is contained in:
commit
115425cea7
66 files changed
+56984
No files matched your search
@@ -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
@@ -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