diff --git a/Cargo.lock b/Cargo.lock index c9042d81fc..380d6693e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2472,9 +2472,7 @@ dependencies = [ "futures-util", "http 0.2.12", "hyper", - "log", "rustls", - "rustls-native-certs", "tokio", "tokio-rustls", "webpki-roots", @@ -3982,12 +3980,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - [[package]] name = "os_str_bytes" version = "6.6.1" @@ -4880,18 +4872,6 @@ dependencies = [ "sct", ] -[[package]] -name = "rustls-native-certs" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" -dependencies = [ - "openssl-probe", - "rustls-pemfile", - "schannel", - "security-framework", -] - [[package]] name = "rustls-pemfile" version = "1.0.4" @@ -4944,15 +4924,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "schannel" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" -dependencies = [ - "windows-sys 0.48.0", -] - [[package]] name = "schemars" version = "0.8.16" diff --git a/src/dfx/Cargo.toml b/src/dfx/Cargo.toml index 2ca165fe2c..1d9cb97ab6 100644 --- a/src/dfx/Cargo.toml +++ b/src/dfx/Cargo.toml @@ -62,7 +62,10 @@ futures.workspace = true handlebars = "4.3.3" hex = { workspace = true, features = ["serde"] } humantime.workspace = true -hyper-rustls = { version = "0.24.1", features = ["webpki-roots", "http2"] } +hyper-rustls = { version = "0.24.1", default-features = false, features = [ + "webpki-roots", + "http2", +] } ic-agent = { workspace = true, features = ["reqwest"] } ic-asset.workspace = true ic-cdk.workspace = true