2 releases

0.1.1 Apr 16, 2024
0.1.0 Apr 14, 2024

#4 in #build-kit

Download history 1/week @ 2024-07-27 2/week @ 2024-08-31 1/week @ 2024-09-14 14/week @ 2024-09-21 2/week @ 2024-09-28

55 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.3–1MB
~21K SLoC