Skip to content

Commit 0e4fd02

Browse files
authored
chore(rust): update dafny runtime release (#1884)
* chore(rust): update dafny runtime release
1 parent eb7679a commit 0e4fd02

File tree

9 files changed

+1663
-1084
lines changed

9 files changed

+1663
-1084
lines changed

DynamoDbEncryption/runtimes/rust/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-db-esdk"
3-
version = "1.0.0"
3+
version = "1.1.0"
44
edition = "2021"
55
rust-version = "1.81.0"
66
keywords = ["cryptography", "security", "dynamodb", "encryption", "client-side"]
@@ -17,8 +17,8 @@ readme = "README.md"
1717

1818
[dependencies]
1919
aws-config = "1.6.2"
20-
aws-lc-rs = "1.13.0"
21-
aws-lc-sys = "0.28.2"
20+
aws-lc-rs = "1.13.1"
21+
aws-lc-sys = "0.29.0"
2222
aws-sdk-dynamodb = "1.73.0"
2323
aws-sdk-kms = "1.67.0"
2424
aws-smithy-runtime-api = {version = "1.8.0", features = ["client"] }

DynamoDbEncryption/runtimes/rust/start_release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ cargo clippy --example main
6868

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

7373
# Run cargo test and example tests
7474
cargo test --release

TestVectors/runtimes/rust/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ wrapped-client = []
1212

1313
[dependencies]
1414
aws-config = "1.6.2"
15-
aws-lc-rs = "1.13.0"
16-
aws-lc-sys = "0.28.2"
15+
aws-lc-rs = "1.13.1"
16+
aws-lc-sys = "0.29.0"
1717
aws-sdk-dynamodb = "1.73.0"
1818
aws-sdk-kms = "1.67.0"
1919
aws-smithy-runtime-api = {version = "1.8.0", features = ["client"] }
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[package]
2-
name = "dafny-runtime"
3-
version = "0.2.0"
2+
name = "dafny_runtime"
3+
version = "0.3.0"
44
edition = "2021"
5-
keywords = ["dafny"]
6-
license = "ISC AND (Apache-2.0 OR ISC)"
7-
description = "dafny-runtime is the runtime support library for Rust code gerated from Dafny."
8-
repository = "https://github.com/aws/aws-database-encryption-sdk-dynamodb/tree/main/releases/rust/db_esdk/dafny_runtime_rust"
9-
authors = ["AWS-CryptoTools"]
10-
readme = "README.md"
115

126
[dependencies]
13-
once_cell = "1.18.0"
14-
num = "0.4"
15-
itertools = "0.11.0"
7+
once_cell = "1.21.3"
8+
num = "0.4.3"
9+
itertools = "0.14.0"
1610

1711
[features]
12+
# Use `dafny translate rs --rust-sync --include-runtime file.dfy`
13+
# to compile to code where values can be sent safely through threads
14+
# This will include the runtime with the sync feature
15+
16+
# Use --features small-int to make DafnyInt use i128 instead of num::BigInt
1817
sync = []
18+
small-int = []

0 commit comments

Comments
 (0)