diff --git a/volo-http/Cargo.toml b/volo-http/Cargo.toml index f21a4927..2be1b485 100644 --- a/volo-http/Cargo.toml +++ b/volo-http/Cargo.toml @@ -58,6 +58,7 @@ tokio = { workspace = true, features = [ ] } tokio-util = { workspace = true, features = ["io"] } tracing.workspace = true +url.workspace = true # =====optional===== multer = { workspace = true, optional = true } @@ -76,7 +77,6 @@ tokio-native-tls = { workspace = true, optional = true } # cookie support cookie = { workspace = true, optional = true, features = ["percent-encode"] } cookie_store = { workspace = true, optional = true } -url = { workspace = true, optional = true } # serde and form, query, json serde = { workspace = true, optional = true } @@ -89,7 +89,6 @@ libc.workspace = true serde = { workspace = true, features = ["derive"] } reqwest = { workspace = true, features = ["multipart"] } tokio-test.workspace = true -url.workspace = true [features] default = [] @@ -111,7 +110,7 @@ rustls = ["__tls", "dep:tokio-rustls", "volo/rustls"] native-tls = ["__tls", "dep:tokio-native-tls", "volo/native-tls"] native-tls-vendored = ["native-tls", "volo/native-tls-vendored"] -cookie = ["dep:cookie", "dep:cookie_store", "dep:url"] +cookie = ["dep:cookie", "dep:cookie_store"] __serde = ["dep:serde"] # a private feature for enabling `serde` by `serde_xxx` query = ["__serde", "dep:serde_urlencoded"]