| Crates.io | osc-devtools |
| lib.rs | osc-devtools |
| version | 0.1.0-alpha.3 |
| created_at | 2025-10-27 03:19:36.555623+00 |
| updated_at | 2025-10-27 04:33:23.299639+00 |
| description | Experimental CLI tools and examples for osc-data-model workspace |
| homepage | https://github.com/Nagitch/osc-data-model |
| repository | https://github.com/Nagitch/osc-data-model |
| max_upload_size | |
| id | 1902184 |
| size | 20,081 |
⚠️ EXPERIMENTAL ⚠️
This crate is experimental and APIs may change significantly between versions.
CLI tools and examples for the osc-data-model workspace, providing utilities for testing, debugging, and demonstrating OSC intermediate representation functionality.
cargo install osc-devtools --version 0.1.0-alpha.1
Or build from source:
git clone https://github.com/Nagitch/osc-data-model
cd osc-data-model
cargo build --release --bin osc-devtools
The CLI provides subcommands for testing and demonstrating OSC data conversion:
# Show help
osc-devtools --help
# Test JSON roundtrip conversion
osc-devtools json-roundtrip
# Test MessagePack roundtrip conversion
osc-devtools msgpack-roundtrip
# Demonstrate complex bundle nesting and conversion
osc-devtools bundle-demo
Test that data survives JSON serialization and deserialization:
# Test JSON roundtrip with simple string data
osc-devtools json-roundtrip
Test that data survives MessagePack serialization and deserialization:
# Test MessagePack roundtrip with simple string data
osc-devtools msgpack-roundtrip
Demonstrate complex nested bundle structures and cross-format conversion:
# Creates complex nested bundles and tests conversion
osc-devtools bundle-demo
This command:
The tools are useful for:
json-roundtripTests JSON serialization and deserialization using a simple string value.
msgpack-roundtripTests MessagePack serialization and deserialization using a simple string value.
bundle-demoDemonstrates complex nested bundle creation and tests both JSON and MessagePack conversion with cross-format compatibility verification.
osc-ir: Core IR typesosc-codec-json: JSON serializationosc-codec-msgpack: MessagePack serializationclap: Command-line argument parsinganyhow: Error handlingLicensed under either of
at your option.