mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-20 00:00:11 +02:00
axum-extra: Make typed-routing feature enable routing feature (#3514)
This commit is contained in:
@@ -88,6 +88,7 @@ query = [
|
||||
tracing = ["axum-core/tracing", "axum/tracing", "dep:tracing"]
|
||||
typed-header = ["dep:headers"]
|
||||
typed-routing = [
|
||||
"routing",
|
||||
"dep:axum-macros",
|
||||
"dep:percent-encoding",
|
||||
"dep:serde_core",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
//! `query` | Enables the [`Query`](crate::extract::Query) extractor | No
|
||||
//! `routing` | Enables the [routing] utilities | No
|
||||
//! `tracing` | Log rejections from built-in extractors | Yes
|
||||
//! `typed-routing` | Enables the [`TypedPath`](crate::routing::TypedPath) routing utilities | No
|
||||
//! `typed-routing` | Enables the [`TypedPath`](crate::routing::TypedPath) routing utilities and the `routing` feature. | No
|
||||
//! `typed-header` | Enables the [`TypedHeader`] extractor and response | No
|
||||
//! `file-stream` | Enables the [`FileStream`](crate::response::FileStream) response | No
|
||||
//! `with-rejection` | Enables the [`WithRejection`](crate::extract::WithRejection) extractor | No
|
||||
|
||||
Reference in New Issue
Block a user