This repository has been archived on 2025-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
axum-controller/README.md

27 lines
1.5 KiB
Markdown

[![Crates.io](https://img.shields.io/crates/v/axum-controller)](https://crates.io/crates/axum-controller)
[![Documentation](https://docs.rs/axum-controller/badge.svg)](https://docs.rs/axum-controller)
![Maintenance](https://img.shields.io/badge/maintenance-deprecated-red.svg)
# DEPRECATED
This crate does not receive further development, it *might* work for your use case.
I've changed how I do routing & recommend checking out [axum-folder-router](https://crates.io/crates/axum-folder-router).
# Axum-Controller
Helper macro's for wiring up axum routes with less boilerplate.
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. Please contact me directly via the email in the crate metadata for licensing inquiries.
## Inspiration & Influences
This crate is inspired by and uses/used [axum-typed-routing](https://lib.rs/crates/axum-typed-routing) & [route_controller](https://lib.rs/crates/route_controller) .
I basically just merged their public API into a single coherent one to get the best of both worlds.