axum-extra: Make typed-routing feature enable routing feature (#3514)

This commit is contained in:
tottoto
2025-10-11 11:22:51 +02:00
committed by GitHub
parent 76cb48ebe0
commit dcbcf5c5fd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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",
+1 -1
View File
@@ -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