2 releases

0.1.1 Apr 16, 2024
0.1.0 Apr 14, 2024

#688 in Configuration

Download history 113/week @ 2024-04-08 186/week @ 2024-04-15

299 downloads per month
Used in 2 crates (via nano-rs-extra)

MIT license

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
~23K SLoC