Skip to content

Commit 2ef489c

Browse files
committed
Turn off default http client in aws dependencies.
These features turn on the aws-smithy-runtime/default-https-client which hard codes the "aws-smithy-http-client?/rustls-aws-lc" feature which turns on the "aws-lc" provider for rustls instead of "ring" which we use everywhere else. Signed-off-by: Ryan Levick <[email protected]>
1 parent c33c7e9 commit 2ef489c

File tree

2 files changed

+17
-153
lines changed

2 files changed

+17
-153
lines changed

crates/key-value-aws/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ rust-version.workspace = true
1111
[dependencies]
1212
anyhow = { workspace = true }
1313
async-once-cell = "0.5.4"
14-
aws-config = "1.1.7"
14+
# Turn off default features to avoid pulling in "aws-smithy-runtime/default-https-client" which messes up tls provider selection
15+
aws-config = { version = "1.1.7", default-features = false, features = ["rt-tokio", "credentials-process", "sso"] }
1516
aws-credential-types = "1.1.7"
16-
aws-sdk-dynamodb = "1.49.0"
17+
# Turn off default features to avoid pulling in "aws-smithy-runtime/default-https-client" which messes up tls provider selection
18+
aws-sdk-dynamodb = { version = "1.49.0", default-features = false, features = ["rustls", "rt-tokio"] }
1719
serde = { workspace = true }
1820
spin-core = { path = "../core" }
1921
spin-factor-key-value = { path = "../factor-key-value" }

examples/spin-timer/Cargo.lock

Lines changed: 13 additions & 151 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)