nano-rs-build

Crates.ionano-rs-build
lib.rsnano-rs-build
version0.1.1
sourcesrc
created_at2024-04-14 06:13:00.957059
updated_at2024-04-16 07:10:30.334017
descriptionLight Web Build Kit
homepagehttps://github.com/CloverOS/nano-rs
repositoryhttps://github.com/CloverOS/nano-rs
max_upload_size
id1208037
size23,565
Chameleon (CloverOS)

documentation

README

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

Commit count: 16

cargo fmt