Skip to content

Commit a6dbda1

Browse files
authored
chore(dependencies): reduce default dependencies (#3327)
1 parent 4281b44 commit a6dbda1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ futures-util = { version = "0.3", default-features = false }
2626
http = "0.2"
2727
http-body = "=1.0.0-rc.2"
2828
http-body-util = { version = "=0.1.0-rc.3", optional = true }
29-
httpdate = "1.0"
3029
httparse = "1.8"
3130
h2 = { version = "0.3.9", optional = true }
3231
itoa = "1"
3332
tracing = { version = "0.1", default-features = false, features = ["std"] }
3433
pin-project-lite = "0.2.4"
3534
tokio = { version = "1", features = ["sync"] }
36-
want = "0.3"
3735

3836
# Optional
3937

38+
httpdate = { version = "1.0", optional = true }
4039
libc = { version = "0.2", optional = true }
40+
want = { version = "0.3", optional = true }
4141

4242
[dev-dependencies]
4343
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
@@ -78,8 +78,8 @@ http1 = []
7878
http2 = ["dep:h2"]
7979

8080
# Client/Server
81-
client = []
82-
server = []
81+
client = ["dep:want"]
82+
server = ["dep:httpdate"]
8383

8484
# C-API support (currently unstable (no semver))
8585
ffi = ["dep:libc", "dep:http-body-util"]

0 commit comments

Comments
 (0)