diff --git a/bench/Cargo.toml b/bench/Cargo.toml index ea95a24f4c..b4a4cc5389 100644 --- a/bench/Cargo.toml +++ b/bench/Cargo.toml @@ -12,7 +12,7 @@ futures-util = "0.3.11" hdrhistogram = { version = "7.2", default-features = false } quinn = { path = "../quinn" } rcgen = "0.8" -rustls = { version = "0.20.0", features = ["quic"] } +rustls = { version = "0.20.0", default-features = false, features = ["quic"] } structopt = "0.3" tokio = { version = "1.0.1", features = ["rt"] } tracing = "0.1.10" diff --git a/perf/Cargo.toml b/perf/Cargo.toml index 1f058ab01c..b4d39096fb 100644 --- a/perf/Cargo.toml +++ b/perf/Cargo.toml @@ -16,7 +16,7 @@ futures-util = "0.3.11" hdrhistogram = { version = "7.2", default-features = false } quinn = { path = "../quinn" } rcgen = "0.8" -rustls = { version = "0.20", features = ["dangerous_configuration", "quic"] } +rustls = { version = "0.20", default-features = false, features = ["dangerous_configuration", "quic"] } rustls-pemfile = "0.2.1" serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } diff --git a/quinn-proto/Cargo.toml b/quinn-proto/Cargo.toml index 22e9113892..dfe4f6fcc0 100644 --- a/quinn-proto/Cargo.toml +++ b/quinn-proto/Cargo.toml @@ -30,7 +30,7 @@ ring = { version = "0.16.7", optional = true } # If rustls gets updated to a new version which contains # https://github.com/ctz/rustls/commit/7117a805e0104705da50259357d8effa7d599e37 # the custom cipher list in `quinn-proto/src/crypto/rustls.rs` can be removed. -rustls = { version = "0.20.0", features = ["quic"], optional = true } +rustls = { version = "0.20.0", default-features = false, features = ["quic"], optional = true } rustls-native-certs = { version = "0.6", optional = true } rustls-pemfile = { version = "0.2.1", optional = true } slab = "0.4" diff --git a/quinn/Cargo.toml b/quinn/Cargo.toml index de6dabb63a..686656b31d 100644 --- a/quinn/Cargo.toml +++ b/quinn/Cargo.toml @@ -31,7 +31,7 @@ futures-util = { version = "0.3.11", default-features = false, features = ["io"] futures-channel = "0.3.11" fxhash = "0.2.1" proto = { package = "quinn-proto", path = "../quinn-proto", version = "0.7", default-features = false } -rustls = { version = "0.20", features = ["quic"], optional = true } +rustls = { version = "0.20", default-features = false, features = ["quic"], optional = true } thiserror = "1.0.21" tracing = "0.1.10" tokio = { version = "1.0.1", features = ["rt", "time"] }