Skip to content

Commit cf9926c

Browse files
committed
🥺
1 parent b30ca48 commit cf9926c

File tree

2 files changed

+148
-12
lines changed

2 files changed

+148
-12
lines changed

‎Cargo.lock‎

Lines changed: 141 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎srcwrhttp/Cargo.toml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ mimalloc = { version = "*", default-features = false } #{ version = "0.1.37", fe
2121
serde_json = { version = "1", features = ["std", "float_roundtrip"] }
2222

2323
bytes = "1"
24-
reqwest = { version = "0.13", features = ["json", "gzip", "brotli", "deflate", "multipart", "cookies", "stream"] }
2524
tokio-tungstenite = "0.28" # websocket library
2625
tokio = { version = "1", features = ["full"] }
2726
futures = "0.3"
@@ -34,3 +33,10 @@ anyhow = "1"
3433
# used in reqwest_text_with_charset
3534
encoding_rs = "0.8"
3635
mime = "0.3"
36+
37+
38+
[target.'cfg(windows)'.dependencies]
39+
reqwest = { version = "0.13", default-features = false, features = ["json", "http2", "charset", "system-proxy", "gzip", "brotli", "deflate", "multipart", "cookies", "stream", "native-tls"] }
40+
41+
[target.'cfg(unix)'.dependencies]
42+
reqwest = { version = "0.13", default-features = false, features = ["json", "http2", "charset", "system-proxy", "gzip", "brotli", "deflate", "multipart", "cookies", "stream", "rustls"] }

0 commit comments

Comments
 (0)