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,11 @@
[package]
name = "libremetaverse-imaging"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "Texture codec abstractions for the MetaCrate LibreMetaverse rewrite"
[lints]
workspace = true

View File

@@ -0,0 +1,24 @@
// @generated by tools/generate_surface.py; do not edit by hand.
// Source: LibreMetaverse 2aa70bb68513b39795da5d13c88f31b86e85a3ba
#![allow(non_camel_case_types)]
/// Shim for C# `LibreMetaverse.Imaging.ITextureCodec`.
pub trait ITextureCodec {
const CSHARP_NAME: &'static str = "LibreMetaverse.Imaging.ITextureCodec";
}
/// `enum` shim for C# `LibreMetaverse.Imaging.ImageChannels`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct ImageChannels;
impl ImageChannels {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Imaging.ImageChannels";
pub const CSHARP_KIND: &'static str = "enum";
}
/// `class` shim for C# `LibreMetaverse.Imaging.ManagedImage`; members remain intentionally unimplemented.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct ManagedImage;
impl ManagedImage {
pub const CSHARP_NAME: &'static str = "LibreMetaverse.Imaging.ManagedImage";
pub const CSHARP_KIND: &'static str = "class";
}

View File

@@ -0,0 +1,5 @@
//! Imaging abstractions corresponding to `LibreMetaverse.Imaging.Abstractions`.
mod generated;
pub use generated::*;