Skip to content

Commit 4e6c45c

Browse files
authored
Fix dynamodb tests by disabling aws_lc crypto (#3992)
## Motivation Recent package upgrades led to both the `ring` and `aws_lc_rs` features being enabled for `rustls`, which therefore fails to pick a sensible default. ## Proposal Disable the features in the AWS packages that cause `rustls/aws_lc_rs` to be enabled, so that `rustls` defaults to `ring`. ## Test Plan CI. ## Release Plan - Nothing to do / These changes follow the usual release cycle. ## Links - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
1 parent 49e2e56 commit 4e6c45c

File tree

2 files changed

+9
-128
lines changed

2 files changed

+9
-128
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ async-graphql-derive = "=7.0.2"
8383
async-lock = "3.3.0"
8484
async-trait = "0.1.77"
8585
async-tungstenite = { version = "0.22", features = ["tokio-runtime"] }
86-
aws-config = "1.6.3"
87-
aws-sdk-dynamodb = "1.76.0"
8886
aws-smithy-types = "1.3.1"
8987
axum = "0.7.4"
9088
base64 = "0.22.0"
@@ -317,6 +315,15 @@ native-fungible = { path = "./examples/native-fungible" }
317315
non-fungible = { path = "./examples/non-fungible" }
318316
social = { path = "./examples/social" }
319317

318+
[workspace.dependencies.aws-config]
319+
default-features = false
320+
version = "1.6.3"
321+
322+
[workspace.dependencies.aws-sdk-dynamodb]
323+
default-features = false
324+
features = ["rt-tokio", "rustls"]
325+
version = "1.76.0"
326+
320327
[profile.release]
321328
lto = "thin"
322329
debug = true

0 commit comments

Comments
 (0)