diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 1a24c6c4..2600522a 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -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", diff --git a/axum-extra/src/lib.rs b/axum-extra/src/lib.rs index 743a9268..156c2ee6 100644 --- a/axum-extra/src/lib.rs +++ b/axum-extra/src/lib.rs @@ -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