Skip to content

Commit

Permalink
feat(http): add cookie for client
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW committed Oct 31, 2024
1 parent c7d9017 commit 4e19070
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions volo-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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 }
Expand All @@ -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 = []
Expand All @@ -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"]
Expand Down

0 comments on commit 4e19070

Please sign in to comment.