diff --git a/sentry-tower/Cargo.toml b/sentry-tower/Cargo.toml index 8e0d9c1ba..e61e97373 100644 --- a/sentry-tower/Cargo.toml +++ b/sentry-tower/Cargo.toml @@ -14,7 +14,7 @@ rust-version = "1.66" [features] http = ["dep:http", "pin-project", "url"] -axum-matched-path = ["axum/matched-path"] +axum-matched-path = ["http", "axum/matched-path"] [dependencies] axum = { version = "0.6", optional = true } diff --git a/sentry/Cargo.toml b/sentry/Cargo.toml index 782ee7f0c..5ad381e0c 100644 --- a/sentry/Cargo.toml +++ b/sentry/Cargo.toml @@ -34,6 +34,7 @@ log = ["sentry-log"] slog = ["sentry-slog"] tower = ["sentry-tower"] tower-http = ["tower", "sentry-tower/http"] +tower-axum-matched-path = ["tower-http", "sentry-tower/axum-matched-path"] tracing = ["sentry-tracing"] profiling = ["sentry-core/profiling"] frame-pointer = ["sentry-core/frame-pointer"]