axum/axum-extra
David Pedersen f12ab072c5
Add IntoResponseParts (#797)
* Add `IntoResponseParts`

* docs

* Add test

* don't allow overriding body or response

* macroify impls

* re-order things a bit

* Fix tests

* Also allow overriding version

* Move things into separate modules

* docs

* clean up

* fix trybuild test

* remove churn

* simplify buliding response

* fixup test

* fix docs typo

* Use `HeaderValue::from_static`, might be faster

* Bring back `impl IntoResponse` in example

* Remove blanket impl to improve error message

* don't need to set `content-type`

* Apply suggestions from code review

Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>

* changelog

Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-02-28 23:04:33 +00:00
..
src Add IntoResponseParts (#797) 2022-02-28 23:04:33 +00: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 Add axum-extra crate (#536) 2021-11-17 20:00:32 +00:00
README.md Add axum-extra crate (#536) 2021-11-17 20:00:32 +00:00

axum-extra

Build status Crates.io Documentation

Extra utilities 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-extra'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.