Disable rustls crate logging feature by default

This commit is contained in:
Sergei Ivankov 2023-02-23 11:42:23 +03:00 committed by Austin Bonander
parent 3f2ec6f91a
commit 21c2660062
2 changed files with 1 additions and 2 deletions

1
Cargo.lock generated
View file

@ -2036,7 +2036,6 @@ version = "0.20.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5aab8ee6c7097ed6057f43c187a62418d0c05a4bd5f18b3571db50ee0f9ce033"
dependencies = [
"log",
"ring",
"sct",
"webpki",

View file

@ -36,7 +36,7 @@ tokio = { workspace = true, optional = true }
# TLS
native-tls = { version = "0.2.10", optional = true }
rustls = { version = "0.20.6", features = ["dangerous_configuration"], optional = true }
rustls = { version = "0.20.6", default-features = false, features = ["dangerous_configuration", "tls12"], optional = true }
rustls-pemfile = { version = "1.0", optional = true }
webpki-roots = { version = "0.22.0", optional = true }