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