disable native-tls on rusoto (#2021)

This commit is contained in:
Roman Krasiuk 2023-01-06 13:08:26 +02:00 committed by GitHub
parent c684220144
commit 7ddfd84e20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 4 deletions

16
Cargo.lock generated
View File

@ -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"

View File

@ -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"]