@@ -26,6 +26,7 @@ dirs = "5.0"
26
26
encoding_rs = " 0.8.28"
27
27
encoding_rs_io = " 0.1.7"
28
28
flate2 = " 1.0.22"
29
+ # Add "tracing" feature to hyper once it stabilizes
29
30
hyper = { version = " 1.2" , default-features = false }
30
31
indicatif = " 0.17"
31
32
jsonxf = " 1.1.0"
@@ -52,6 +53,11 @@ ruzstd = { version = "0.7", default-features = false, features = ["std"]}
52
53
env_logger = { version = " 0.11.3" , default-features = false , features = [" color" , " auto-color" , " humantime" ] }
53
54
log = " 0.4.21"
54
55
56
+ # Enable logging in transitive dependencies.
57
+ # The rustls version number should be kept in sync with hyper/reqwest.
58
+ rustls = { version = " 0.23.14" , optional = true , default-features = false , features = [" logging" ] }
59
+ tracing = { version = " 0.1.41" , default-features = false , features = [" log" ] }
60
+
55
61
[dependencies .reqwest ]
56
62
version = " 0.12.3"
57
63
default-features = false
@@ -85,7 +91,7 @@ http-body-util = "0.1.1"
85
91
[features ]
86
92
default = [" online-tests" , " rustls" , " network-interface" ]
87
93
native-tls = [" reqwest/native-tls" , " reqwest/native-tls-alpn" ]
88
- rustls = [" reqwest/rustls-tls" , " reqwest/rustls-tls-webpki-roots" , " reqwest/rustls-tls-native-roots" ]
94
+ rustls = [" reqwest/rustls-tls" , " reqwest/rustls-tls-webpki-roots" , " reqwest/rustls-tls-native-roots" , " dep:rustls " ]
89
95
90
96
# To be used by platforms that don't support binding to interface via SO_BINDTODEVICE
91
97
# Ideally, this would be auto-disabled on platforms that don't need it
0 commit comments