Skip to content

Commit 45a7dcb

Browse files
committed
chore(tls): fix min rustls version
1 parent 5029beb commit 45a7dcb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

actix-tls/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ rust-version.workspace = true
1717
all-features = true
1818
rustdoc-args = ["--cfg", "docsrs"]
1919

20+
[package.metadata.cargo-machete]
21+
ignored = [
22+
"rustls_021", # specified to force version with add_trust_anchors method
23+
]
24+
2025
[features]
2126
default = ["accept", "connect"]
2227

@@ -68,6 +73,7 @@ tokio-rustls-023 = { package = "tokio-rustls", version = "0.23", optional = true
6873
webpki-roots-022 = { package = "webpki-roots", version = "0.22", optional = true }
6974

7075
# rustls v0.21
76+
rustls-021 = { package = "rustls", version = "0.21.6" }
7177
tokio-rustls-024 = { package = "tokio-rustls", version = "0.24", optional = true }
7278
webpki-roots-025 = { package = "webpki-roots", version = "0.25", optional = true }
7379

@@ -81,7 +87,6 @@ actix-server = "2"
8187
bytes = "1"
8288
env_logger = "0.10"
8389
futures-util = { version = "0.3.17", default-features = false, features = ["sink"] }
84-
log = "0.4"
8590
rcgen = "0.11"
8691
rustls-pemfile = "1"
8792
tokio-rustls-024 = { package = "tokio-rustls", version = "0.24", features = ["dangerous_configuration"] }

bytestring/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ serde = { version = "1.0", optional = true }
2222
ahash = { version = "0.8", default-features = false }
2323
serde_json = "1.0"
2424
static_assertions = "1.1"
25-
rustversion = "1"

0 commit comments

Comments
 (0)