2 releases
0.1.1 | Apr 16, 2024 |
---|---|
0.1.0 | Apr 14, 2024 |
#780 in Configuration
Used in 2 crates
(via nano-rs-extra)
24KB
525 lines
nano-rs-build
for Axum
- Add build.rs into your project
use std::error::Error;
use nano_rs_build::core::NanoBuilder;
use nano_rs::axum::gen::gen_route::AxumGenRoute;
fn main() -> Result<(), Box<dyn Error>> {
NanoBuilder::new(None).gen_api_route(AxumGenRoute::new());
Ok(())
}
more information please see nano-rs
Dependencies
~0.4–1MB
~22K SLoC