19 lines
1 KiB
Markdown
19 lines
1 KiB
Markdown
|
[](https://crates.io/crates/axum-controller)
|
||
|
[](https://docs.rs/axum-controller)
|
||
|
|
||
|
# Axum-Controller
|
||
|
Helper macro for [axum-typed-routing](https://github.com/jvdwrf/axum-typed-routing).
|
||
|
|
||
|
Adds a `#[controller(...)]` macro for easy wrapping of multiple routes inside of a "controller" Struct.
|
||
|
|
||
|
See example [here](axum-controller/examples/controller.rs).
|
||
|
|
||
|
See the [docs](https://docs.rs/axum-controller) for more information.
|
||
|
|
||
|
|
||
|
## Licensing
|
||
|
|
||
|
This repository, like all my personal projects, is licensed under the **GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later)**. This ensures that modifications to the code remain open source when used in network services.
|
||
|
|
||
|
If the AGPL license doesn't suit your needs, a version under more permissive terms (like **MIT**, **Apache**, or **BSD** license) is available for a small fee. Please contact me directly via the email in the crate metadata for licensing inquiries.
|