hashes: Re-export Hkdf

Re-export `Hkdf` from the crate root. While we are at it group the
re-exports and skip formatting as is convention around here.
This commit is contained in:
Tobin C. Harding 2024-06-24 11:49:20 +10:00
parent 40d1335f08
commit d2632d3d8a
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 6 additions and 1 deletions

View File

@ -126,7 +126,12 @@ pub mod siphash24;
use core::{convert, fmt, hash};
pub use hmac::{Hmac, HmacEngine};
#[rustfmt::skip] // Keep public re-exports separate.
#[doc(inline)]
pub use self::{
hkdf::Hkdf,
hmac::{Hmac, HmacEngine},
};
/// A hashing engine which bytes can be serialized into.
pub trait HashEngine: Clone + Default {