1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2020 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

#[cfg(feature = "ternary_hashes")]
#[cfg_attr(docsrs, doc(cfg(feature = "ternary_hashes")))]
pub mod ternary;

#[cfg(feature = "blake2b")]
#[cfg_attr(docsrs, doc(cfg(feature = "blake2b")))]
pub mod blake2b;

#[cfg(feature = "sha")]
#[cfg_attr(docsrs, doc(cfg(feature = "sha")))]
pub mod sha;

#[cfg(any(feature = "blake2b", feature = "sha"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "blake2b", feature = "sha"))))]
#[doc(inline)]
pub use digest::{Digest, Output};