Program: implement OSDInspector offline tool #85
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Port OSDInspector as the first fully functional Rust tool over StructuredData.
Deliverables
Validation
Prerequisite
The library behavior required by the program is implemented and its translated parity tests pass.
Project constraints
Implemented in
f93a27f. Replaced the OSDInspector placeholder with a bounded cross-platform clap CLI implementing inspect/i, convert/c, validate/v, prim-to-osd, and osd-to-prim over the native StructuredData and Primitive APIs. JSON, XML, binary LLSD, and notation LLSD support binary-safe file and standard-stream I/O; input size and parser resource limits are enforced; stable stdout/stderr and exit-code behavior is documented. Added deterministic program status/usage documentation and process-level coverage for all commands, all formats and aliases, golden conversions, format detection, primitive round-trip, malformed/empty/oversized input, and I/O failures. Validation: 9/9 osd_inspector_cli tests passed; 78/78 related translated StructuredData compatibility tests passed; focused clippy and fmt passed; locked workspace all-target check, API compile, workspace test no-run, generation/API coverage, and workspace docs passed.