diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml index f1c40332..82799450 100755 --- a/actix-tls/Cargo.toml +++ b/actix-tls/Cargo.toml @@ -17,6 +17,11 @@ rust-version.workspace = true all-features = true rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.cargo-machete] +ignored = [ + "rustls_021", # specified to force version with add_trust_anchors method +] + [features] default = ["accept", "connect"] @@ -68,6 +73,7 @@ tokio-rustls-023 = { package = "tokio-rustls", version = "0.23", optional = true webpki-roots-022 = { package = "webpki-roots", version = "0.22", optional = true } # rustls v0.21 +rustls-021 = { package = "rustls", version = "0.21.6" } tokio-rustls-024 = { package = "tokio-rustls", version = "0.24", optional = true } webpki-roots-025 = { package = "webpki-roots", version = "0.25", optional = true } @@ -81,7 +87,6 @@ actix-server = "2" bytes = "1" env_logger = "0.10" futures-util = { version = "0.3.17", default-features = false, features = ["sink"] } -log = "0.4" rcgen = "0.11" rustls-pemfile = "1" tokio-rustls-024 = { package = "tokio-rustls", version = "0.24", features = ["dangerous_configuration"] } diff --git a/bytestring/Cargo.toml b/bytestring/Cargo.toml index ab0e43c6..f3efdbab 100644 --- a/bytestring/Cargo.toml +++ b/bytestring/Cargo.toml @@ -22,4 +22,3 @@ serde = { version = "1.0", optional = true } ahash = { version = "0.8", default-features = false } serde_json = "1.0" static_assertions = "1.1" -rustversion = "1"