Skip to content

chore(rust): update dafny runtime release #1884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DynamoDbEncryption/runtimes/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aws-db-esdk"
version = "1.0.0"
version = "1.1.0"
edition = "2021"
rust-version = "1.81.0"
keywords = ["cryptography", "security", "dynamodb", "encryption", "client-side"]
Expand All @@ -17,8 +17,8 @@ readme = "README.md"

[dependencies]
aws-config = "1.6.2"
aws-lc-rs = "1.13.0"
aws-lc-sys = "0.28.2"
aws-lc-rs = "1.13.1"
aws-lc-sys = "0.29.0"
aws-sdk-dynamodb = "1.73.0"
aws-sdk-kms = "1.67.0"
aws-smithy-runtime-api = {version = "1.8.0", features = ["client"] }
Expand Down
2 changes: 1 addition & 1 deletion DynamoDbEncryption/runtimes/rust/start_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cargo clippy --example main

# replace local path with latest dafny-runtime from crates.io
cargo rm dafny_runtime
cargo add dafny-runtime -F sync
cargo add dafny-runtime -F sync -F small-int

# Run cargo test and example tests
cargo test --release
Expand Down
4 changes: 2 additions & 2 deletions TestVectors/runtimes/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ wrapped-client = []

[dependencies]
aws-config = "1.6.2"
aws-lc-rs = "1.13.0"
aws-lc-sys = "0.28.2"
aws-lc-rs = "1.13.1"
aws-lc-sys = "0.29.0"
aws-sdk-dynamodb = "1.73.0"
aws-sdk-kms = "1.67.0"
aws-smithy-runtime-api = {version = "1.8.0", features = ["client"] }
Expand Down
22 changes: 11 additions & 11 deletions releases/rust/db_esdk/dafny_runtime_rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "dafny-runtime"
version = "0.2.0"
name = "dafny_runtime"
version = "0.3.0"
edition = "2021"
keywords = ["dafny"]
license = "ISC AND (Apache-2.0 OR ISC)"
description = "dafny-runtime is the runtime support library for Rust code gerated from Dafny."
repository = "https://github.com/aws/aws-database-encryption-sdk-dynamodb/tree/main/releases/rust/db_esdk/dafny_runtime_rust"
authors = ["AWS-CryptoTools"]
readme = "README.md"

[dependencies]
once_cell = "1.18.0"
num = "0.4"
itertools = "0.11.0"
once_cell = "1.21.3"
num = "0.4.3"
itertools = "0.14.0"

[features]
# Use `dafny translate rs --rust-sync --include-runtime file.dfy`
# to compile to code where values can be sent safely through threads
# This will include the runtime with the sync feature

# Use --features small-int to make DafnyInt use i128 instead of num::BigInt
sync = []
small-int = []
Loading
Loading