Ironic
Ironic is an experimental, batteries-included application framework for structured Rust APIs on
top of Axum. Applications add one dependency and use one CLI; runtime, DI, HTTP, Axum, OpenAPI,
testing utilities, configuration, and project generation are all exposed by the ironic crate.
Version 0.1 is a preview and is not yet recommended for production use.
Install the CLI
The CLI ships as the ironic binary in the main crate:
Generate a complete resource with:
Generated applications contain one framework dependency:
[]
= "0.1"
Minimal application
use ;
;
async
See the getting-started guide, the REST example, and the release notes.
Publishing
Rust requires procedural macros to live in a proc-macro crate. Therefore ironic-macros is a
small implementation companion, while ironic remains the only crate users install or declare.
Publish the companion first, then the public crate:
Before publishing, verify exactly what crates.io will receive:
Development
Ironic uses Rust 1.85 or newer and Edition 2024.
RUSTDOCFLAGS="-D warnings"