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,3 @@
fn main() -> std::process::ExitCode {
libremetaverse_programs::pending_program("InventoryExplorer")
}

View File

@@ -0,0 +1,3 @@
fn main() -> std::process::ExitCode {
libremetaverse_programs::pending_program("IRCGateway")
}

View File

@@ -0,0 +1,3 @@
fn main() -> std::process::ExitCode {
libremetaverse_programs::pending_program("OSDInspector")
}

View File

@@ -0,0 +1,3 @@
fn main() -> std::process::ExitCode {
libremetaverse_programs::pending_program("PacketDump")
}

View File

@@ -0,0 +1,3 @@
fn main() -> std::process::ExitCode {
libremetaverse_programs::pending_program("PrimInspector")
}

View File

@@ -0,0 +1,3 @@
fn main() -> std::process::ExitCode {
libremetaverse_programs::pending_program("SimpleBot")
}

View File

@@ -0,0 +1,5 @@
fn main() -> std::process::ExitCode {
let command_count = libremetaverse_programs::commands::TEST_CLIENT_COMMANDS.len();
eprintln!("TestClient command inventory contains {command_count} translated targets");
libremetaverse_programs::pending_program("TestClient")
}

View File

@@ -0,0 +1,3 @@
fn main() -> std::process::ExitCode {
libremetaverse_programs::pending_program("VivoxTest")
}

View File

@@ -0,0 +1,3 @@
fn main() -> std::process::ExitCode {
libremetaverse_programs::pending_program("WebRtcTest")
}

124
programs/src/commands.rs Normal file
View File

@@ -0,0 +1,124 @@
// @generated by tools/generate_surface.py; do not edit by hand.
pub const TEST_CLIENT_COMMANDS: &[&str] = &[
"BotsCommand",
"CloneProfileCommand",
"GenericMessageCommand",
"PlayAnimationCommand",
"TouchCommand",
"WhoCommand",
"AppearanceCommand",
"AttachmentsCommand",
"AvatarInfoCommand",
"CloneCommand",
"WearCommand",
"EchoMasterCommand",
"IMCommand",
"IMGroupCommand",
"SayCommand",
"ShoutCommand",
"WhisperCommand",
"Key2NameCommand",
"SearchClassifiedsCommand",
"SearchEventsCommand",
"SearchGroupsCommand",
"SearchLandCommand",
"SearchPeopleCommand",
"SearchPlacesCommand",
"ShowEventDetailsCommand",
"DownloadTerrainCommand",
"GetEstateCovenantCommand",
"UploadRawTerrainCommand",
"FriendsCommand",
"MapFriendCommand",
"ActivateGroupCommand",
"GroupMembersCommand",
"GroupRolesCommand",
"GroupsCommand",
"InviteGroupCommand",
"JoinGroupCommand",
"LeaveGroupCommand",
"BackupCommand",
"BalanceCommand",
"ChangeDirectoryCommand",
"CreateNotecardCommand",
"DeleteFolderCommand",
"DownloadCommand",
"DumpOutfitCommand",
"EmptyLostAndFound",
"EmptyTrashCommand",
"GiveAllCommand",
"GiveItemCommand",
"InventoryCommand",
"ListContentsCommand",
"ObjectInventoryCommand",
"ScriptCommand",
"TaskRunningCommand",
"TreeCommand",
"UploadImageCommand",
"UploadScriptCommand",
"ViewNotecardCommand",
"XferCommand",
"AgentLocationsCommand",
"FindSimCommand",
"GridLayerCommand",
"GridMapCommand",
"ParcelDetailsCommand",
"ParcelInfoCommand",
"ParcelPrimOwnersCommand",
"ParcelSelectObjectsCommand",
"SyntaxIdCommand",
"WindCommand",
"BackCommand",
"CrossRegionCommand",
"CrouchCommand",
"FlyCommand",
"FlyToCommand",
"FollowCommand",
"ForwardCommand",
"GoHome",
"GotoCommand",
"GotoLandmark",
"JumpCommand",
"LeftCommand",
"LocationCommand",
"MoveToCommand",
"RightCommand",
"SetHome",
"SitCommand",
"SitOnCommand",
"StandCommand",
"TurnToCommand",
"ChangePermsCommand",
"DeRezObjectCommand",
"DownloadTextureCommand",
"ExportCommand",
"ExportParticlesCommand",
"FindObjectsCommand",
"FindTextureCommand",
"ImportCommand",
"PrimCountCommand",
"PrimInfoCommand",
"PrimRegexCommand",
"TexturesCommand",
"DilationCommand",
"NetstatsCommand",
"RegionInfoCommand",
"StatsCommand",
"UptimeCommand",
"AtCommand",
"DebugCommand",
"HelpCommand",
"LoadCommand",
"LogPacketCommand",
"LoginCommand",
"LogoutCommand",
"MD5Command",
"QuitCommand",
"SetMasterCommand",
"SetMasterKeyCommand",
"ShowEffectsCommand",
"SleepCommand",
"WaitForLoginCommand",
"ParcelVoiceInfo",
"VoiceAcountCommand",
];

5
programs/src/lib.rs Normal file
View File

@@ -0,0 +1,5 @@
//! Rust targets corresponding to the upstream example and tool projects.
pub mod commands;
pub use libremetaverse::shim::pending_program;