diff --git a/Cargo.lock b/Cargo.lock index a295012f50..feaa1927c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2572,7 +2572,6 @@ dependencies = [ "futures-util", "idna 0.5.0", "ipnet", - "native-tls", "once_cell", "openssl", "rand", @@ -2583,7 +2582,6 @@ dependencies = [ "time", "tinyvec", "tokio", - "tokio-native-tls", "tokio-rustls", "tracing", "url", @@ -6664,7 +6662,6 @@ dependencies = [ "num-format", "num-traits", "once_cell", - "openssl", "primitive-types", "prost 0.13.3", "quickcheck", diff --git a/applications/minotari_console_wallet/Cargo.toml b/applications/minotari_console_wallet/Cargo.toml index 9f1c99d521..ce54d19af3 100644 --- a/applications/minotari_console_wallet/Cargo.toml +++ b/applications/minotari_console_wallet/Cargo.toml @@ -58,7 +58,7 @@ log4rs = { version = "1.3.0", default-features = false, features = [ qrcode = { version = "0.12" } rand = "0.8" regex = "1.5.4" -reqwest = { version = "0.11.18", features = ["native-tls-vendored"] } +reqwest = "0.11.18" rpassword = "5.0" rustyline = "9.0" serde = "1.0.136" diff --git a/applications/minotari_miner/Cargo.toml b/applications/minotari_miner/Cargo.toml index 1ee131a553..d9afed6c11 100644 --- a/applications/minotari_miner/Cargo.toml +++ b/applications/minotari_miner/Cargo.toml @@ -41,7 +41,7 @@ log4rs = { version = "1.3.0", default-features = false, features = [ "size_trigger", "fixed_window_roller", ] } -native-tls = { version = "0.2", features = ["vendored"] } +native-tls = "0.2" num_cpus = "1.13" rand = "0.8" serde = { version = "1.0", default-features = false, features = ["derive"] } diff --git a/base_layer/core/Cargo.toml b/base_layer/core/Cargo.toml index 9326422f1f..0b7a7b11bb 100644 --- a/base_layer/core/Cargo.toml +++ b/base_layer/core/Cargo.toml @@ -94,11 +94,7 @@ tiny-keccak = { package = "tari-tiny-keccak", version = "2.0.2", features = [ "keccak", ] } dirs-next = "1.0.2" -hickory-client = { version = "0.25.0-alpha.2", features = [ - "dns-over-native-tls", - "dnssec-openssl" -], optional = true } -openssl = { version = "0.10.66", features = ["vendored"] } +hickory-client = { version = "0.25.0-alpha.2", features = ["dns-over-rustls", "dnssec-openssl"], optional = true } anyhow = "1.0.53" [dev-dependencies] @@ -130,9 +126,3 @@ unexpected_cfgs = { level = "warn", check-cfg = [ 'cfg(tari_target_network_nextnet)', 'cfg(tari_target_network_testnet)', ] } - -[package.metadata.cargo-machete] -openssl = [ - # We need to specify extra features for openssl even though it is not used directly in this crate - "openssl", -]