mirror of https://github.com/tokio-rs/axum
Remove remnants of spa feature (#1802)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
This commit is contained in:
parent
fd96bce34d
commit
db22b7309d
|
@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning].
|
|||
|
||||
# Unreleased
|
||||
|
||||
- **breaking:** Remove the `spa` feature which should have been removed in 0.6.0 ([#1802])
|
||||
- **added:** Add `Multipart`. This is similar to `axum::extract::Multipart`
|
||||
except that it enforces field exclusivity at runtime instead of compile time,
|
||||
as this improves usability ([#1692])
|
||||
|
@ -14,6 +15,7 @@ and this project adheres to [Semantic Versioning].
|
|||
- **fixed:** Add `#[must_use]` attributes to types that do nothing unless used ([#1809])
|
||||
|
||||
[#1692]: https://github.com/tokio-rs/axum/pull/1692
|
||||
[#1802]: https://github.com/tokio-rs/axum/pull/1802
|
||||
[#1808]: https://github.com/tokio-rs/axum/pull/1808
|
||||
[#1809]: https://github.com/tokio-rs/axum/pull/1809
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ json-lines = [
|
|||
multipart = ["dep:multer"]
|
||||
protobuf = ["dep:prost"]
|
||||
query = ["dep:serde", "dep:serde_html_form"]
|
||||
spa = ["tower-http/fs"]
|
||||
typed-routing = ["dep:axum-macros", "dep:serde", "dep:percent-encoding", "dep:serde_html_form", "dep:form_urlencoded"]
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
//! `multipart` | Enables the `Multpart` extractor | No
|
||||
//! `protobuf` | Enables the `Protobuf` extractor and response | No
|
||||
//! `query` | Enables the `Query` extractor | No
|
||||
//! `spa` | Enables the `Spa` router | No
|
||||
//! `typed-routing` | Enables the `TypedPath` routing utilities | No
|
||||
//!
|
||||
//! [`axum`]: https://crates.io/crates/axum
|
||||
|
|
|
@ -6,7 +6,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
axum = { path = "../../axum" }
|
||||
axum-extra = { path = "../../axum-extra", features = ["spa"] }
|
||||
axum-extra = { path = "../../axum-extra" }
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
tower = { version = "0.4", features = ["util"] }
|
||||
tower-http = { version = "0.4.0", features = ["fs", "trace"] }
|
||||
|
|
Loading…
Reference in New Issue