You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a simple crate that depends on aws-sdk-s3 with rustls disabled and native-tls enabled:
[package]
name = "example"
version = "0.1.0"
edition = "2021"
[dependencies]
aws-sdk-s3 = { version = "0.24.0", default-features = false, features = ["native-tls"] }
Possible Solution
The dependency sneaks in by way of the aws-smithy-client/test-util feature, which the aws-sdk-s3 crate enables in its production dependencies, as of 8e625fd (diff). I'm not sure what's different about the S3 SDK, but for all other SDKs the aws-smithy-client/test-util is only enabled as a dev dependency.
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
aws-sdk-s3
at v0.24 depends onrustls
, even when therustls
feature is disabled and thenative-tls
feature is enabled instead.Expected Behavior
Cargo.lock does not include
rustls
and friends.Current Behavior
Cargo.lock includes
rustls
by way ofaws-smithy-client
:Reproduction Steps
Create a simple crate that depends on
aws-sdk-s3
withrustls
disabled andnative-tls
enabled:Possible Solution
The dependency sneaks in by way of the
aws-smithy-client/test-util
feature, which theaws-sdk-s3
crate enables in its production dependencies, as of 8e625fd (diff). I'm not sure what's different about the S3 SDK, but for all other SDKs theaws-smithy-client/test-util
is only enabled as a dev dependency.Additional Information/Context
cc @rcoh
Version
Environment details (OS name and version, etc.)
n/a
Logs
No response
The text was updated successfully, but these errors were encountered: