axum/axum-core
David Pedersen 7e13d69639
Add status and body_text methods to built-in rejections (#1612)
* Add `status` and `body_text` methods to built-in rejections

This should make it easier to customize a built-in rejection while
preserving either the status or body.

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

* changelog
2022-12-02 19:54:16 +01:00
..
src Add status and body_text methods to built-in rejections (#1612) 2022-12-02 19:54:16 +01:00
build.rs Improve compile errors for unimplemented traits (#1436) 2022-11-19 12:45:03 +01:00
Cargo.toml axum 0.6 and friends 🎉 (#1570) 2022-11-25 12:29:58 +00:00
CHANGELOG.md Add status and body_text methods to built-in rejections (#1612) 2022-12-02 19:54:16 +01:00
LICENSE Move FromRequest and IntoResponse into new axum-core crate (#564) 2021-11-30 13:46:13 +00:00
README.md Bump MSRV to 1.56 and update to the 2021 edition (#1098) 2022-06-17 20:11:35 +02:00

axum-core

Build status Crates.io Documentation

Core types and traits 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-core's MSRV is 1.56.

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.