2 releases

0.1.5 Sep 7, 2022
0.1.4 Sep 6, 2022
0.1.0 Aug 23, 2022

#21 in #generate-static

Download history 1/week @ 2024-02-19 11/week @ 2024-02-26 5/week @ 2024-03-04 10/week @ 2024-03-11 3/week @ 2024-03-18 52/week @ 2024-03-25

71 downloads per month
Used in 2 crates (via static-router)

MIT/Apache

35KB
816 lines

Static Router

(For Axum)

Provides a macro to generate a static file router that serves the directory dynamically in debug mode and statically embeds the files and routes in release mode.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

See the main static-router crate.

Dependencies

~435–700KB