@@ -18,18 +18,21 @@ features = ["full"]
1818rustdoc-args = [" --cfg" , " docsrs" ]
1919
2020[dependencies ]
21- hyper = " 1.6.0"
21+ base64 = { version = " 0.22" , optional = true }
22+ bytes = " 1.7.1"
23+ futures-channel = { version = " 0.3" , optional = true }
2224futures-util = { version = " 0.3.16" , default-features = false }
2325http = " 1.0"
2426http-body = " 1.0.0"
25- bytes = " 1.7.1"
27+ hyper = " 1.6.0"
28+ ipnet = { version = " 2.9" , optional = true }
29+ libc = { version = " 0.2" , optional = true }
30+ percent-encoding = { version = " 2.3" , optional = true }
2631pin-project-lite = " 0.2.4"
27- futures-channel = { version = " 0.3" , optional = true }
2832socket2 = { version = " 0.5.9" , optional = true , features = [" all" ] }
2933tracing = { version = " 0.1" , default-features = false , features = [" std" ], optional = true }
3034tokio = { version = " 1" , optional = true , default-features = false }
3135tower-service = { version = " 0.3" , optional = true }
32- libc = { version = " 0.2" , optional = true }
3336
3437[dev-dependencies ]
3538hyper = { version = " 1.4.0" , features = [" full" ] }
@@ -42,6 +45,12 @@ pretty_env_logger = "0.5"
4245[target .'cfg(any(target_os = "linux", target_os = "macos"))' .dev-dependencies ]
4346pnet_datalink = " 0.35.0"
4447
48+ [target .'cfg(target_os = "macos")' .dependencies ]
49+ system-configuration = { version = " 0.6.1" , optional = true }
50+
51+ [target .'cfg(windows)' .dependencies ]
52+ windows-registry = { version = " 0.4" , optional = true }
53+
4554[features ]
4655default = []
4756
@@ -61,6 +70,8 @@ full = [
6170
6271client = [" hyper/client" , " dep:tracing" , " dep:futures-channel" , " dep:tower-service" ]
6372client-legacy = [" client" , " dep:socket2" , " tokio/sync" , " dep:libc" ]
73+ client-proxy = [" client" , " dep:base64" , " dep:ipnet" , " dep:percent-encoding" ]
74+ client-proxy-system = [" dep:system-configuration" , " dep:windows-registry" ]
6475
6576server = [" hyper/server" ]
6677server-auto = [" server" , " http1" , " http2" ]
0 commit comments