axum/axum-macros
David Pedersen da74084146
Easily convert typed paths into URIs (#790)
* Easily convert typed paths into URIs

`#[derive(TypedPath)]` will now also generate `TryFrom<_> for Uri` for
easily converting paths into URIs for use with `Redirect` and friends.

Fixes https://github.com/tokio-rs/axum/issues/789

* Use a method on the `TypedPath` trait to convert to `Uri`

* fix doc ref

* Update changelogs
2022-02-28 09:58:22 +01:00
..
src Easily convert typed paths into URIs (#790) 2022-02-28 09:58:22 +01:00
tests Easily convert typed paths into URIs (#790) 2022-02-28 09:58:22 +01:00
Cargo.toml Type safe routing (#756) 2022-02-18 14:13:56 +01:00
CHANGELOG.md Easily convert typed paths into URIs (#790) 2022-02-28 09:58:22 +01:00
LICENSE Move axum-debug into axum-macros (#724) 2022-01-26 23:27:22 +01:00
README.md Add axum-macros crate with #[derive(FromRequest)] (#718) 2022-01-25 15:05:50 +01:00

axum-macros

Build status Crates.io Documentation

Macros for axum.

More information about this crate can be found in the crate documentation.

Safety

This crate uses #![forbid(unsafe_code)] to ensure everything is implemented in 100% safe Rust.

Minimum supported Rust version

axum-macros's MSRV is 1.54.

Getting Help

You're also welcome to ask in the Discord channel or open an issue with your question.

Contributing

🎈 Thanks for your help improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the axum project.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in axum by you, shall be licensed as MIT, without any additional terms or conditions.