Initial MetaCrate rewrite shell
This commit is contained in:
16
crates/libremetaverse-utilities/Cargo.toml
Normal file
16
crates/libremetaverse-utilities/Cargo.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "libremetaverse-utilities"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Utility shims for the MetaCrate LibreMetaverse rewrite"
|
||||
|
||||
[dependencies]
|
||||
libremetaverse = { path = "../libremetaverse" }
|
||||
libremetaverse-structured-data = { path = "../libremetaverse-structured-data" }
|
||||
libremetaverse-types = { path = "../libremetaverse-types" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
27
crates/libremetaverse-utilities/src/generated.rs
Normal file
27
crates/libremetaverse-utilities/src/generated.rs
Normal file
@@ -0,0 +1,27 @@
|
||||
// @generated by tools/generate_surface.py; do not edit by hand.
|
||||
// Source: LibreMetaverse 2aa70bb68513b39795da5d13c88f31b86e85a3ba
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.Utilities.ConnectionManager`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct ConnectionManager;
|
||||
impl ConnectionManager {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Utilities.ConnectionManager";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `class` shim for C# `LibreMetaverse.Utilities.Realism`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct Realism;
|
||||
impl Realism {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Utilities.Realism";
|
||||
pub const CSHARP_KIND: &'static str = "class";
|
||||
}
|
||||
|
||||
/// `enum` shim for C# `LibreMetaverse.Utilities.WaterType`; members remain intentionally unimplemented.
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
|
||||
pub struct WaterType;
|
||||
impl WaterType {
|
||||
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Utilities.WaterType";
|
||||
pub const CSHARP_KIND: &'static str = "enum";
|
||||
}
|
||||
8
crates/libremetaverse-utilities/src/lib.rs
Normal file
8
crates/libremetaverse-utilities/src/lib.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
//! Utilities corresponding to `LibreMetaverse.Utilities`.
|
||||
|
||||
mod generated;
|
||||
|
||||
pub use generated::*;
|
||||
pub use libremetaverse as core;
|
||||
pub use libremetaverse_structured_data as structured_data;
|
||||
pub use libremetaverse_types as types;
|
||||
Reference in New Issue
Block a user