From cee231ab4c5661b44a386448b821b6e4138467c6 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Wed, 4 Dec 2019 19:58:32 -0800 Subject: [PATCH] Re-export `SivAead` and `siv` module Should provide better compatibility with previous versions --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 20f418d..920b10b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -38,10 +38,10 @@ pub mod ffi; #[cfg(feature = "stream")] pub mod stream; -pub use crate::aead::{Aead, Aes128SivAead, Aes256SivAead}; +pub use crate::aead::{Aead, Aes128SivAead, Aes256SivAead, SivAead}; pub use aes_siv::{ aead::{generic_array, Error}, - siv::{Aes128Siv, Aes256Siv}, + siv::{self, Aes128Siv, Aes256Siv}, }; #[cfg(feature = "pmac")]