diff --git a/AwsEncryptionSDK/runtimes/rust/Cargo.toml b/AwsEncryptionSDK/runtimes/rust/Cargo.toml index d6ab21e61..a3375ff5b 100644 --- a/AwsEncryptionSDK/runtimes/rust/Cargo.toml +++ b/AwsEncryptionSDK/runtimes/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-esdk" -version = "1.2.3" +version = "1.2.4" edition = "2021" keywords = ["cryptography", "security", "dynamodb", "encryption", "client-side"] license = "ISC AND (Apache-2.0 OR ISC)" diff --git a/releases/rust/esdk/Cargo.toml b/releases/rust/esdk/Cargo.toml index 1b53040b9..bb9cc5208 100644 --- a/releases/rust/esdk/Cargo.toml +++ b/releases/rust/esdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-esdk" -version = "1.2.3" +version = "1.2.4" edition = "2021" keywords = ["cryptography", "security", "dynamodb", "encryption", "client-side"] license = "ISC AND (Apache-2.0 OR ISC)" @@ -17,7 +17,7 @@ readme = "README.md" [dependencies] aws-config = "1.8.12" aws-lc-rs = {version = "1.15.4"} -aws-lc-sys = { version = "0.38", optional = true } +aws-lc-sys = { version = "0.39", optional = true } aws-lc-fips-sys = { version = "0.13", optional = true } aws-sdk-dynamodb = "1.103.0" aws-sdk-kms = "1.98.0" diff --git a/releases/rust/esdk/examples/cryptographic_materials_manager/restrict_algorithm_suite/signing_suite_only_cmm.rs b/releases/rust/esdk/examples/cryptographic_materials_manager/restrict_algorithm_suite/signing_suite_only_cmm.rs index 82bea04aa..1de3f6489 100644 --- a/releases/rust/esdk/examples/cryptographic_materials_manager/restrict_algorithm_suite/signing_suite_only_cmm.rs +++ b/releases/rust/esdk/examples/cryptographic_materials_manager/restrict_algorithm_suite/signing_suite_only_cmm.rs @@ -1,6 +1,5 @@ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -#![allow(clippy::result_large_err)] use aws_esdk::material_providers::client as mpl_client; use aws_esdk::material_providers::operation::decrypt_materials::DecryptMaterialsInput; diff --git a/releases/rust/esdk/examples/main.rs b/releases/rust/esdk/examples/main.rs index 70f9dd9a6..2afb48e57 100644 --- a/releases/rust/esdk/examples/main.rs +++ b/releases/rust/esdk/examples/main.rs @@ -4,6 +4,7 @@ #![deny(warnings, unconditional_panic)] #![deny(nonstandard_style)] #![deny(clippy::all)] +#![allow(clippy::result_large_err)] pub mod client_supplier; pub mod cryptographic_materials_manager; diff --git a/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/validation.rs b/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/validation.rs index b29fcc87f..b4fbd9890 100644 --- a/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/validation.rs +++ b/releases/rust/esdk/src/deps/aws_cryptography_materialProviders/validation.rs @@ -1706,7 +1706,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateRawEcdhKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsDiscoveryMultiKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1714,7 +1714,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsEcdhKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1722,7 +1722,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateRawRsaKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMrkDiscoveryMultiKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1730,7 +1730,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsHierarchicalKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateMultiKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1738,7 +1738,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMrkDiscoveryKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsDiscoveryKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1746,7 +1746,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateRawAesKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsRsaKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1754,7 +1754,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsRsaKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMrkDiscoveryKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1762,7 +1762,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMrkKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsHierarchicalKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1770,7 +1770,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsDiscoveryKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateRawEcdhKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1778,7 +1778,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMrkMultiKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateRawRsaKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1786,7 +1786,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsDiscoveryMultiKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMrkMultiKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1794,7 +1794,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsEcdhKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMultiKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1802,7 +1802,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMultiKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateRawAesKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1810,7 +1810,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateMultiKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMrkKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( @@ -1818,7 +1818,7 @@ pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput ))?; Ok(()) } -pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsMrkDiscoveryMultiKeyring( +pub(crate) fn validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_for_AwsCryptographicMaterialProviders_CreateAwsKmsKeyring( input: &crate::deps::aws_cryptography_materialProviders::types::keyring::KeyringRef, ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> { validate_aws_Pcryptography_PmaterialProviders_HCreateKeyringOutput_Dkeyring(&Some( diff --git a/releases/rust/esdk/src/implementation_from_dafny.rs b/releases/rust/esdk/src/implementation_from_dafny.rs index 217d27f48..950849750 100644 --- a/releases/rust/esdk/src/implementation_from_dafny.rs +++ b/releases/rust/esdk/src/implementation_from_dafny.rs @@ -43767,7 +43767,7 @@ pub mod software { } /// ../mpl/ComAmazonawsKms/src/Index.dfy(31,3) pub fn DafnyUserAgentSuffix(runtime: &Sequence) -> Sequence { - let mut version: Sequence = string_utf16_of("1.11.0"); + let mut version: Sequence = string_utf16_of("2.0.0"); string_utf16_of("AwsCryptographicMPL/").concat(runtime).concat(&string_utf16_of("/")).concat(&version) } /// ../mpl/ComAmazonawsKms/Model/ComAmazonawsKmsTypes.dfy(2006,3)