Remove multipart from axum-extra' default features (#3058)

This commit is contained in:
Jonas Platte 2024-12-01 10:44:54 +00:00 committed by GitHub
parent f6379558e6
commit 6d30c579e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -8,12 +8,14 @@ and this project adheres to [Semantic Versioning].
# Unreleased
- **fixed:** `Host` extractor includes port number when parsing authority ([#2242])
- **changed:** The `multipart` feature is no longer on by default ([#3058])
- **added:** Add `RouterExt::typed_connect` ([#2961])
- **added:** Add `json!` for easy construction of JSON responses ([#2962])
- **added:** Add `InternalServerError` response for logging an internal error
and returning HTTP 500 in a convenient way. ([#3010])
[#2242]: https://github.com/tokio-rs/axum/pull/2242
[#3058]: https://github.com/tokio-rs/axum/pull/3058
[#2961]: https://github.com/tokio-rs/axum/pull/2961
[#2962]: https://github.com/tokio-rs/axum/pull/2962
[#3010]: https://github.com/tokio-rs/axum/pull/3010

View file

@ -12,7 +12,7 @@ repository = "https://github.com/tokio-rs/axum"
version = "0.10.0-alpha.1"
[features]
default = ["tracing", "multipart"]
default = ["tracing"]
async-read-body = ["dep:tokio-util", "tokio-util?/io", "dep:tokio"]
attachment = ["dep:tracing"]