diff --git a/Cargo.toml b/Cargo.toml index acaff6bd09ec..e279620453cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -241,6 +241,7 @@ futures = "0.3" tokio = { version = "1", features = ["rt", "signal"] } ipnet = { version = "2.10", optional = true } +reqwest = { version = "0.13", features = ["blocking"], optional = true } mimalloc = { version = "0.1", default-features = false, optional = true } tcmalloc = { version = "0.3", optional = true } @@ -255,19 +256,6 @@ windows-service = { version = "0.8", optional = true } [target.'cfg(unix)'.dependencies] xdg = "3.0" -[target.'cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))'.dependencies] -reqwest = { version = "0.12", features = [ - "blocking", - "rustls-tls", - "rustls-tls-native-roots", -], default-features = false, optional = true } - -[target.'cfg(not(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64")))'.dependencies] -reqwest = { version = "0.12", features = [ - "blocking", - "native-tls-vendored", -], optional = true } - [dev-dependencies] byteorder = "1.5" env_logger = "0.11" diff --git a/deny.toml b/deny.toml index 35544ff70f22..73514384f437 100644 --- a/deny.toml +++ b/deny.toml @@ -100,6 +100,7 @@ allow = [ "CDLA-Permissive-2.0", "CC0-1.0", "0BSD", + "OpenSSL", ] # The confidence threshold for detecting a license from license text. # The higher the value, the more closely the license text must be to the