Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df40ab5

Browse files
committedJan 28, 2025··
m
1 parent 1a90c5c commit df40ab5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎TestVectors/runtimes/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ aws-smithy-runtime-api = {version = "1.7.3", features = ["client"] }
1616
aws-smithy-types = "1.2.10"
1717
chrono = "0.4.39"
1818
cpu-time = "1.0.0"
19-
dafny_runtime = { path = "../../../submodules/MaterialProviders/smithy-dafny/TestModels/dafny-dependencies/dafny_runtime_rust", features = ["sync"]}
19+
dafny-runtime = { path = "../../../releases/rust/db_esdk/dafny_runtime_rust", features = ["sync"] }
2020
dashmap = "6.1.0"
2121
pem = "3.0.4"
2222
tokio = {version = "1.42.0", features = ["full"] }

‎TestVectors/runtimes/rust/src/create_client.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
use std::rc::Rc;
4+
use dafny_runtime::Rc;
55
use dafny_runtime::Object;
66
use crate::implementation_from_dafny::software::amazon::cryptography::services::dynamodb::internaldafny::types::IDynamoDBClient;
77
use crate::implementation_from_dafny::software::amazon::cryptography::dbencryptionsdk::dynamodb::internaldafny::types::Error;
@@ -39,7 +39,7 @@ impl _CreateInterceptedDDBClient_Compile::_default {
3939

4040
let client = crate::deps::com_amazonaws_dynamodb::client::Client { inner };
4141
let dafny_client = ::dafny_runtime::upcast_object()(::dafny_runtime::object::new(client));
42-
std::rc::Rc::new(crate::r#_Wrappers_Compile::Result::Success {
42+
Rc::new(crate::r#_Wrappers_Compile::Result::Success {
4343
value: dafny_client,
4444
})
4545
}
@@ -56,7 +56,7 @@ impl _CreateInterceptedDDBClient_Compile::_default {
5656
let inner = aws_sdk_dynamodb::Client::new(&shared_config);
5757
let client = crate::deps::com_amazonaws_dynamodb::client::Client { inner };
5858
let dafny_client = ::dafny_runtime::upcast_object()(::dafny_runtime::object::new(client));
59-
std::rc::Rc::new(crate::r#_Wrappers_Compile::Result::Success {
59+
Rc::new(crate::r#_Wrappers_Compile::Result::Success {
6060
value: dafny_client,
6161
})
6262
}

0 commit comments

Comments
 (0)
Please sign in to comment.