Add some more README.md yak-shaving

- Update description of macros in README
- Simplify licensing statement in README
This commit is contained in:
Tristan D. 2025-03-04 15:44:18 +01:00
parent d46bdc9dd6
commit d4ecf3e208
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4

View file

@ -5,7 +5,7 @@
Helper macro for [axum-typed-routing](https://github.com/jvdwrf/axum-typed-routing). 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. Adds a `#[controller(...)]` & `#[route(...)]` macro for less boilerplate when wiring up axum routes.
See example [here](axum-controller/examples/controller.rs). See example [here](axum-controller/examples/controller.rs).
@ -15,7 +15,7 @@ See the [docs](https://docs.rs/axum-controller) for more information.
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. 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. If the AGPL license doesn't suit your needs, a version under more permissive terms (like **MIT**, **Apache**, or **BSD** license) is available. Please contact me directly via the email in the crate metadata for licensing inquiries.
## Inspiration & Influences ## Inspiration & Influences