diff --git a/crates/lib/src/cryptography/data_key.rs b/crates/lib/src/cryptography/data_key.rs index 2ceba31..0eb9f61 100644 --- a/crates/lib/src/cryptography/data_key.rs +++ b/crates/lib/src/cryptography/data_key.rs @@ -25,6 +25,7 @@ impl DataKey { DataKeySize::USIZE } + #[allow(clippy::new_without_default)] pub fn new() -> Self { DataKey(RngKey::new()) } diff --git a/crates/lib/src/integration/aws_kms/core.rs b/crates/lib/src/integration/aws_kms/core.rs index cc4b761..4b63cf4 100644 --- a/crates/lib/src/integration/aws_kms/core.rs +++ b/crates/lib/src/integration/aws_kms/core.rs @@ -1,4 +1,4 @@ -use std::{convert::AsRef, future::Future, ops::Deref}; +use std::{future::Future, ops::Deref}; use anyhow::anyhow; use aws_sdk_kms::{config::Credentials, primitives::Blob, Client, Config};