28 lines
1.2 KiB
Markdown
28 lines
1.2 KiB
Markdown
|
|
[](https://crates.io/crates/axum-folder-router)
|
|
[](https://docs.rs/axum-folder-router)
|
|

|
|
[](https://opensource.org/licenses/MIT)
|
|
|
|
|
|
|
|
# axum-folder-router
|
|
|
|
```folder_router``` is a procedural macro for the Axum web framework that automatically generates router boilerplate based on your file structure.
|
|
It simplifies route organization by using filesystem conventions to define your API routes.
|
|
|
|
## Usage
|
|
|
|
See [the examples](./examples) or [docs.rs](https://docs.rs/axum-folder-router).
|
|
|
|
## License
|
|
|
|
This repository, is licesed permissively under the terms of the MIT license.
|
|
|
|
### Contribution
|
|
|
|
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.
|
|
|
|
### Attribution
|
|
|
|
This macro is based on the [build.rs template by @richardanaya](https://github.com/richardanaya/axum-folder-router-htmx)
|