diff --git a/actix-router/Cargo.toml b/actix-router/Cargo.toml index 79218f364..0b02e84b9 100644 --- a/actix-router/Cargo.toml +++ b/actix-router/Cargo.toml @@ -18,6 +18,7 @@ path = "src/lib.rs" [features] default = ["http", "unicode"] +http = ["dep:http"] unicode = ["dep:regex"] [dependencies] diff --git a/actix-web/Cargo.toml b/actix-web/Cargo.toml index c67146917..aafc3dda8 100644 --- a/actix-web/Cargo.toml +++ b/actix-web/Cargo.toml @@ -92,7 +92,7 @@ actix-utils = "3" actix-tls = { version = "3.3", default-features = false, optional = true } actix-http = { version = "3.6", features = ["ws"] } -actix-router = { path = "../actix-router", default-features = false, features = ["http"] } +actix-router = { version = "0.5", default-features = false, features = ["http"] } actix-web-codegen = { version = "4.2", optional = true } ahash = "0.8"