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:
parent
40d1335f08
commit
d2632d3d8a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue