rust-axum Target
rust-axum generates Rust HTTP bindings for Axum-based services and clients.
Minimum Command
Section titled “Minimum Command”xidlc gen --out-dir generated rust-axum hello_world.idlIf you also need a Schema, it is usually generated together:
xidlc gen --out-dir generated openapi hello_world.idlTypical Generation Results
Section titled “Typical Generation Results”- Business logic traits
- Server wrappers for routing and request parsing
- Client wrappers
- Transport helper types
Runtime Support
Section titled “Runtime Support”The generated code is designed to be used with xidl-rust-axum by default.