Skip to content

Commit 3e37a0c

Browse files
committed
create release directory
1 parent e33e92f commit 3e37a0c

File tree

2,095 files changed

+265614
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,095 files changed

+265614
-0
lines changed

releases/rust/db_esdk/Cargo.toml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[package]
2+
name = "db_esdk"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
aws-config = "1.5.6"
10+
aws-lc-rs = "1.9.0"
11+
aws-lc-sys = "0.21.1"
12+
aws-sdk-dynamodb = "1.46.0"
13+
aws-sdk-kms = "1.44.0"
14+
aws-smithy-runtime = {version = "1.7.1", features = ["client"] }
15+
aws-smithy-runtime-api = {version = "1.7.2", features = ["client"] }
16+
aws-smithy-types = "1.2.6"
17+
aws-types = "1.3.3"
18+
chrono = "0.4.38"
19+
dafny_runtime = { path = "dafny_runtime_rust"}
20+
dashmap = "6.1.0"
21+
pem = "3.0.4"
22+
tokio = {version = "1.40.0", features = ["full"] }
23+
uuid = { version = "1.10.0", features = ["v4"] }
24+
25+
[lib]
26+
path = "src/implementation_from_dafny.rs"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target/

releases/rust/db_esdk/dafny_runtime_rust/Cargo.lock

+129
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[package]
2+
name = "dafny_runtime"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[dependencies]
7+
once_cell = "1.18.0"
8+
paste = "1.0"
9+
num = "0.4"
10+
itertools = "0.11.0"
11+
as-any = "0.3.1"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# Invoking the CLI this way just to stay platform-independent
3+
DAFNY = dotnet run --project ../../Dafny --no-build --
4+
5+
GENERATED_SYSTEM_MODULE_SOURCE=../obj/systemModulePopulator-rust/src/systemModulePopulator.rs
6+
GENERATED_SYSTEM_MODULE_TARGET=src/system/mod.rs
7+
8+
all: check-system-module test
9+
10+
build-system-module:
11+
$(DAFNY) translate rs --no-verify --use-basename-for-filename --optimize-erasable-datatype-wrapper:false --system-module:OmitAllOtherModules ../systemModulePopulator.dfy --output:../obj/systemModulePopulator
12+
python -c "import sys; data = sys.stdin.read(); sys.stdout.write(data.replace('::dafny_runtime', 'crate'))" < $(GENERATED_SYSTEM_MODULE_SOURCE) > $(GENERATED_SYSTEM_MODULE_SOURCE).tmp && mv $(GENERATED_SYSTEM_MODULE_SOURCE).tmp $(GENERATED_SYSTEM_MODULE_SOURCE)
13+
14+
check-system-module: build-system-module
15+
diff $(GENERATED_SYSTEM_MODULE_SOURCE) $(GENERATED_SYSTEM_MODULE_TARGET)
16+
17+
update-system-module: build-system-module
18+
cp $(GENERATED_SYSTEM_MODULE_SOURCE) $(GENERATED_SYSTEM_MODULE_TARGET)
19+
20+
test:
21+
cargo test
22+
(cd ../../DafnyRuntime.Tests/DafnyRuntimeRustTest; cargo test)

0 commit comments

Comments
 (0)