Skip to content

Commit c12817f

Browse files
author
Lucas McDonald
committed
m
1 parent df31a1d commit c12817f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

TestVectors/runtimes/rust/src/create_wrapped_item_encryptor.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ use dafny_runtime::Object;
66
use crate::implementation_from_dafny::software::amazon::cryptography::dbencryptionsdk::dynamodb::itemencryptor::internaldafny::types::IDynamoDbItemEncryptorClient;
77
use crate::implementation_from_dafny::software::amazon::cryptography::dbencryptionsdk::dynamodb::itemencryptor::internaldafny::types::Error;
88
use crate::implementation_from_dafny::_Wrappers_Compile;
9-
use crate::deps::aws_db_esdk::item_encryptor::client as item_encryptor_client;
9+
use crate::deps::aws_cryptography_dbEncryptionSdk_dynamoDb_itemEncryptor::client as item_encryptor_client;
10+
use crate::deps::aws_cryptography_dbEncryptionSdk_dynamoDb_itemEncryptor::wrapped::client as wrapped_item_encryptor_client;
1011

1112
pub mod _CreateWrappedItemEncryptor_Compile {
1213
pub struct _default {}
@@ -19,7 +20,7 @@ impl _CreateWrappedItemEncryptor_Compile::_default {
1920
let native_config = crate::deps::aws_cryptography_dbEncryptionSdk_dynamoDb_itemEncryptor::conversions::dynamo_db_item_encryptor_config::_dynamo_db_item_encryptor_config::plain_from_dafny(config);
2021

2122
let item_encryptor = item_encryptor_client::Client::from_conf(native_config);
22-
let wrapped_encryptor = // where is this generated?
23+
let wrapped_encryptor = wrapped_item_encryptor_client::Client {wrapped: item_encryptor};
2324
let dafny_encryptor = ::dafny_runtime::upcast_object()(::dafny_runtime::object::new(wrapped_encryptor));
2425

2526
Rc::new(crate::r#_Wrappers_Compile::Result::Success {

0 commit comments

Comments
 (0)