Skip to content

rust-axum Target

rust-axum generates Rust HTTP bindings for Axum-based services and clients.

Terminal window
xidlc gen --out-dir generated rust-axum hello_world.idl

If you also need a Schema, it is usually generated together:

Terminal window
xidlc gen --out-dir generated openapi hello_world.idl
  • Business logic traits
  • Server wrappers for routing and request parsing
  • Client wrappers
  • Transport helper types

The generated code is designed to be used with xidl-rust-axum by default.