From f4e39243d2d3ca9ceea4c6e1782359ff9400bbb9 Mon Sep 17 00:00:00 2001 From: Garret Stand Date: Fri, 3 May 2024 08:37:47 -0400 Subject: [PATCH] feat(aes-gcm-siv): re-export `aes` crate (#603) added to ensure consistency with it's sister `aes-gcm` crate, which also re-exports `aes` (aes-gcm/src/lib.rs:114). finds specific use in defining a `Key` generic for example; it takes a `KeySizeUser` which are a majority `Aes*` structs from `aes`. --- aes-gcm-siv/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aes-gcm-siv/src/lib.rs b/aes-gcm-siv/src/lib.rs index d6dfab57..c1e2f9e5 100644 --- a/aes-gcm-siv/src/lib.rs +++ b/aes-gcm-siv/src/lib.rs @@ -84,6 +84,9 @@ pub use aead::{self, AeadCore, AeadInPlace, Error, Key, KeyInit, KeySizeUser}; +#[cfg(feature = "aes")] +pub use aes; + use cipher::{ array::Array, consts::{U0, U12, U16},