@@ -33,6 +33,7 @@ pin-project-lite = "0.2.4"
33
33
socket2 = { version = " >=0.5.9, <0.7" , optional = true , features = [" all" ] }
34
34
tracing = { version = " 0.1" , default-features = false , features = [" std" ], optional = true }
35
35
tokio = { version = " 1" , optional = true , default-features = false }
36
+ tower-layer = { version = " 0.3" , optional = true }
36
37
tower-service = { version = " 0.3" , optional = true }
37
38
38
39
[dev-dependencies ]
@@ -55,7 +56,7 @@ system-configuration = { version = "0.6.1", optional = true }
55
56
windows-registry = { version = " 0.5" , optional = true }
56
57
57
58
[features ]
58
- default = []
59
+ default = [" client " , " client-pool " ]
59
60
60
61
# Shorthand to enable everything
61
62
full = [
@@ -76,7 +77,7 @@ full = [
76
77
77
78
client = [" hyper/client" , " tokio/net" , " dep:tracing" , " dep:futures-channel" , " dep:tower-service" ]
78
79
client-legacy = [" client" , " dep:socket2" , " tokio/sync" , " dep:libc" , " dep:futures-util" ]
79
- client-pool = [" dep:futures-util" ]
80
+ client-pool = [" dep:futures-util" , " dep:tower-layer " ]
80
81
client-proxy = [" client" , " dep:base64" , " dep:ipnet" , " dep:percent-encoding" ]
81
82
client-proxy-system = [" dep:system-configuration" , " dep:windows-registry" ]
82
83
0 commit comments