collab: Drop old rustls dependencies (#55632)

## Summary

- Disable legacy default TLS features for the collab AWS SDK clients
- Use the current AWS HTTP client and Rustls dependency chain

## Verification

- `cargo check -p collab --locked`
- `cargo fmt --all -- --check`
- Confirmed the collab dependency tree excludes rustls 0.21,
hyper-rustls 0.24, and tokio-rustls 0.24

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz authored and GitHub committed 2026-09-18 11:38:53 +00:00
1 parent 108fd3ac11
commit c1b19374f4
2 files changed
+29 -92

No files matched your search

Generated
+27 -90
View File
@@ -1255,7 +1255,7 @@ dependencies = [
"pin-project-lite",
"rustls-pki-types",
"tokio",
"tokio-rustls 0.26.4",
"tokio-rustls",
"tungstenite 0.28.0",
]
@@ -1845,23 +1845,17 @@ dependencies = [
"aws-smithy-async",
"aws-smithy-runtime-api",
"aws-smithy-types",
"h2 0.3.27",
"h2 0.4.12",
"http 0.2.12",
"http 1.3.1",
"http-body 0.4.6",
"hyper 0.14.32",
"hyper 1.7.0",
"hyper-rustls 0.24.2",
"hyper-rustls 0.27.9",
"hyper-rustls",
"hyper-util",
"pin-project-lite",
"rustls 0.21.12",
"rustls 0.23.40",
"rustls",
"rustls-native-certs",
"rustls-pki-types",
"tokio",
"tokio-rustls 0.26.4",
"tokio-rustls",
"tower 0.5.2",
"tracing",
]
@@ -3170,7 +3164,7 @@ dependencies = [
"tiny_http",
"tokio",
"tokio-native-tls",
"tokio-rustls 0.26.4",
"tokio-rustls",
"url",
"util",
"windows 0.62.2",
@@ -8352,7 +8346,7 @@ name = "http_client_tls"
version = "0.1.0"
dependencies = [
"log",
"rustls 0.23.40",
"rustls",
"rustls-platform-verifier",
"webpki-roots 1.0.8",
]
@@ -8443,21 +8437,6 @@ dependencies = [
"want",
]
[[package]]
name = "hyper-rustls"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
dependencies = [
"futures-util",
"http 0.2.12",
"hyper 0.14.32",
"log",
"rustls 0.21.12",
"tokio",
"tokio-rustls 0.24.1",
]
[[package]]
name = "hyper-rustls"
version = "0.27.9"
@@ -8468,10 +8447,10 @@ dependencies = [
"hyper 1.7.0",
"hyper-util",
"log",
"rustls 0.23.40",
"rustls",
"rustls-native-certs",
"tokio",
"tokio-rustls 0.26.4",
"tokio-rustls",
"tower-service",
]
@@ -10237,7 +10216,7 @@ dependencies = [
"sha2",
"thiserror 1.0.69",
"tokio",
"tokio-rustls 0.26.4",
"tokio-rustls",
"tokio-tungstenite 0.28.0",
"url",
]
@@ -12277,7 +12256,7 @@ dependencies = [
"http-body 1.0.1",
"http-body-util",
"hyper 1.7.0",
"hyper-rustls 0.27.9",
"hyper-rustls",
"hyper-timeout",
"hyper-util",
"jsonwebtoken",
@@ -14656,7 +14635,7 @@ dependencies = [
"quinn-proto",
"quinn-udp",
"rustc-hash 2.1.1",
"rustls 0.23.40",
"rustls",
"socket2 0.6.5",
"thiserror 2.0.17",
"tokio",
@@ -14677,7 +14656,7 @@ dependencies = [
"rand_pcg 0.10.2",
"ring",
"rustc-hash 2.1.1",
"rustls 0.23.40",
"rustls",
"rustls-pki-types",
"slab",
"thiserror 2.0.17",
@@ -15449,14 +15428,14 @@ dependencies = [
"http-body 1.0.1",
"http-body-util",
"hyper 1.7.0",
"hyper-rustls 0.27.9",
"hyper-rustls",
"hyper-util",
"js-sys",
"log",
"percent-encoding",
"pin-project-lite",
"quinn",
"rustls 0.23.40",
"rustls",
"rustls-native-certs",
"rustls-pki-types",
"serde",
@@ -15464,7 +15443,7 @@ dependencies = [
"serde_urlencoded",
"sync_wrapper 1.0.2",
"tokio",
"tokio-rustls 0.26.4",
"tokio-rustls",
"tower 0.5.2",
"tower-http 0.6.11",
"tower-service",
@@ -15869,18 +15848,6 @@ dependencies = [
"rustix",
]
[[package]]
name = "rustls"
version = "0.21.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
dependencies = [
"log",
"ring",
"rustls-webpki 0.101.7",
"sct",
]
[[package]]
name = "rustls"
version = "0.23.40"
@@ -15892,7 +15859,7 @@ dependencies = [
"once_cell",
"ring",
"rustls-pki-types",
"rustls-webpki 0.103.13",
"rustls-webpki",
"subtle",
"zeroize",
]
@@ -15948,10 +15915,10 @@ dependencies = [
"jni 0.22.4",
"log",
"once_cell",
"rustls 0.23.40",
"rustls",
"rustls-native-certs",
"rustls-platform-verifier-android",
"rustls-webpki 0.103.13",
"rustls-webpki",
"security-framework",
"security-framework-sys",
"webpki-root-certs",
@@ -15964,16 +15931,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
[[package]]
name = "rustls-webpki"
version = "0.101.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
dependencies = [
"ring",
"untrusted 0.9.0",
]
[[package]]
name = "rustls-webpki"
version = "0.103.13"
@@ -16213,16 +16170,6 @@ dependencies = [
"syn 2.0.117",
]
[[package]]
name = "sct"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
dependencies = [
"ring",
"untrusted 0.9.0",
]
[[package]]
name = "sdd"
version = "4.6.2"
@@ -17416,7 +17363,7 @@ dependencies = [
"once_cell",
"percent-encoding",
"rust_decimal",
"rustls 0.23.40",
"rustls",
"serde",
"serde_json",
"sha2",
@@ -18814,23 +18761,13 @@ dependencies = [
"tokio",
]
[[package]]
name = "tokio-rustls"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
dependencies = [
"rustls 0.21.12",
"tokio",
]
[[package]]
name = "tokio-rustls"
version = "0.26.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
dependencies = [
"rustls 0.23.40",
"rustls",
"tokio",
]
@@ -18889,11 +18826,11 @@ checksum = "d25a406cddcc431a75d3d9afc6a7c0f7428d4891dd973e4d54c56b46127bf857"
dependencies = [
"futures-util",
"log",
"rustls 0.23.40",
"rustls",
"rustls-native-certs",
"rustls-pki-types",
"tokio",
"tokio-rustls 0.26.4",
"tokio-rustls",
"tungstenite 0.28.0",
]
@@ -19551,7 +19488,7 @@ dependencies = [
"httparse",
"log",
"rand 0.9.4",
"rustls 0.23.40",
"rustls",
"rustls-pki-types",
"sha1",
"thiserror 2.0.17",
@@ -22769,7 +22706,7 @@ dependencies = [
"sha1",
"thiserror 2.0.17",
"tokio",
"tokio-rustls 0.26.4",
"tokio-rustls",
"tokio-util",
"url",
"wasm-bindgen",
@@ -23133,7 +23070,7 @@ dependencies = [
"http-body 1.0.1",
"http-body-util",
"hyper 1.7.0",
"hyper-rustls 0.27.9",
"hyper-rustls",
"hyper-util",
"ipnet",
"js-sys",
@@ -23144,7 +23081,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"quinn",
"rustls 0.23.40",
"rustls",
"rustls-native-certs",
"rustls-pemfile 2.2.0",
"rustls-pki-types",
@@ -23154,7 +23091,7 @@ dependencies = [
"sync_wrapper 1.0.2",
"system-configuration 0.8.0",
"tokio",
"tokio-rustls 0.26.4",
"tokio-rustls",
"tokio-socks",
"tokio-util",
"tower 0.5.2",
+2 -2
View File
@@ -31,8 +31,8 @@ anyhow.workspace = true
async-trait.workspace = true
async-tungstenite = { workspace = true, features = ["tokio", "tokio-rustls-manual-roots" ] }
aws-config = { version = "1.1.5" }
aws-sdk-kinesis = "1.51.0"
aws-sdk-s3 = { version = "1.15.0" }
aws-sdk-kinesis = { version = "1.51.0", default-features = false, features = ["default-https-client", "rt-tokio"] }
aws-sdk-s3 = { version = "1.15.0", default-features = false, features = ["sigv4a", "http-1x", "default-https-client", "rt-tokio"] }
axum = { version = "0.6", features = ["json", "headers", "ws"] }
chrono.workspace = true
clock.workspace = true