fix(deps): drop legacy hyper 0.14/h2 0.3 stack from aws-sdk-iotdataplane - #140
Merged
Merged
Conversation
The SDK crate's default `rustls` feature enables aws-smithy-runtime/tls-rustls, which pulls the legacy hyper 0.14 client and h2 0.3. h2 0.3.27 is flagged by RUSTSEC-2026-0258 with no patched 0.3.x release. Disabling default features and enabling default-https-client (hyper 1) + rt-tokio removes the legacy stack for downstream consumers.
MathiasKoch
force-pushed
the
fix/drop-legacy-hyper-stack
branch
from
August 20, 2026 09:01
7fdb042 to
79543cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aws-sdk-iotdataplanewithdefault-features = falseand explicitdefault-https-client+rt-tokiofeatures.rustlsfeature enablesaws-smithy-runtime/tls-rustls, which pulls the legacy hyper 0.14 client and h2 0.3. h2 0.3.27 is flagged by RUSTSEC-2026-0258 and has no patched 0.3.x release, so downstream consumers running cargo-deny (factbird-edge-applications) fail as long as rustot enables it via feature unification.default-https-client(hyper 1 based) is available since the declared minimumaws-sdk-iotdataplane1.72.0, so no version floor change is needed. Verifiedcargo tree -e normal -i h2@0.3.27 --features shadows_multinow resolves to nothing andcargo check --features shadows_multi,mqtt_rumqttcpasses.