Documentation
Installation & Quick Start
Get started with oxml across Rust projects, CLI environments, browser runtimes, and AI workflows.
Cargo Setup
Add oxml to your Cargo.toml:
[dependencies]
oxml = "0.0.10"
Or install using the Cargo command line:
oxml supports standard no_std environments with dynamic allocation (alloc).
Feature Flags
Customize the runtime behavior and dependencies with optional feature flags:
| Feature | Description | Extra Dependencies | | : --- | : --- | : --- | | async | Non-blocking streaming reader for tokio::io::AsyncBufRead | tokio | | tracing | OpenTelemetry and Tokio diagnostic instrumentation spans | tracing | | serde | Serialisation and deserialisation integration | serde |
Enable features in your manifest:
[dependencies]
oxml = { version = "0.0.10", features = ["async", "tracing"] }
Satellite Tools
Install additional specialized tools from the synchronized oxml ecosystem:
- Command-line tool:
cargo install oxml-cli - WebAssembly bundle:
npm install @oxml/wasm - Model Context Protocol server:
cargo install oxml-mcp - XML Schema validator:
cargo add xmlschema