diff --git a/Cargo.lock b/Cargo.lock index cb472448b..bbb9dbb1d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2211,7 +2211,9 @@ checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" dependencies = [ "http", "hyper", + "log", "rustls", + "rustls-native-certs", "tokio", "tokio-rustls", ] @@ -3518,7 +3520,7 @@ dependencies = [ "futures", "http", "hyper", - "hyper-tls", + "hyper-rustls", "lazy_static", "log", "rusoto_credential", @@ -3629,6 +3631,18 @@ dependencies = [ "webpki", ] +[[package]] +name = "rustls-native-certs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50" +dependencies = [ + "openssl-probe", + "rustls-pemfile", + "schannel", + "security-framework", +] + [[package]] name = "rustls-pemfile" version = "1.0.0" diff --git a/ethers-signers/Cargo.toml b/ethers-signers/Cargo.toml index 8a25e34fc..169dfc6d0 100644 --- a/ethers-signers/Cargo.toml +++ b/ethers-signers/Cargo.toml @@ -34,8 +34,8 @@ trezor-client = { version = "0.0.7", optional = true, default-features = false, ] } # aws -rusoto_core = { version = "0.48.0", optional = true } -rusoto_kms = { version = "0.48.0", optional = true } +rusoto_core = { version = "0.48.0", default-features = false, optional = true } +rusoto_kms = { version = "0.48.0", default-features = false, optional = true } tracing = { version = "0.1.37", optional = true } spki = { version = "0.6.0", optional = true } @@ -60,5 +60,5 @@ futures = ["futures-util", "futures-executor"] celo = ["ethers-core/celo"] ledger = ["coins-ledger", "futures", "semver"] yubi = ["yubihsm"] -aws = ["rusoto_core", "rusoto_kms", "tracing", "spki"] +aws = ["rusoto_core/rustls", "rusoto_kms/rustls", "tracing", "spki"] trezor = ["trezor-client", "futures", "semver", "home"]