Skip to content

Commit fc61f09

Browse files
authored
fix(shadowsocks-rust): reqwest features updated
1 parent 2b81ea4 commit fc61f09

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

Cargo.toml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ futures = "0.3"
241241
tokio = { version = "1", features = ["rt", "signal"] }
242242

243243
ipnet = { version = "2.10", optional = true }
244+
reqwest = { version = "0.13", features = ["blocking"], optional = true }
244245

245246
mimalloc = { version = "0.1", default-features = false, optional = true }
246247
tcmalloc = { version = "0.3", optional = true }
@@ -255,19 +256,6 @@ windows-service = { version = "0.8", optional = true }
255256
[target.'cfg(unix)'.dependencies]
256257
xdg = "3.0"
257258

258-
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))'.dependencies]
259-
reqwest = { version = "0.13", features = [
260-
"blocking",
261-
"rustls-tls",
262-
"rustls-tls-native-roots",
263-
], default-features = false, optional = true }
264-
265-
[target.'cfg(not(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
266-
reqwest = { version = "0.13", features = [
267-
"blocking",
268-
"native-tls-vendored",
269-
], optional = true }
270-
271259
[dev-dependencies]
272260
byteorder = "1.5"
273261
env_logger = "0.11"

0 commit comments

Comments
 (0)