Getting Started
From zero to working codec in under 5 minutes. You'll add ergo-sbe as a
build dependency, point it at a schema XML file, include the generated module,
and encode/decode your first message.
- Depend on the Generator — one line in
Cargo.toml - Generate in build.rs — point at your schema, get a Rust module
- Include Generated Code —
include!orsbe_mod!the output - Encode and Decode — fixed and variable-length messages
- Method Chaining — write messages in one expression the way the schema reads
- Multi-Schema Patterns — share types across schemas and versions