1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#![deny(missing_docs)]
mod aliases;
pub mod error;
mod has_hash;
mod hash;
pub mod hash_type;
pub use aliases::*;
pub use encode::{holo_hash_decode, holo_hash_decode_unchecked, holo_hash_encode};
pub use has_hash::HasHash;
pub use hash::*;
pub use hash_b64::*;
pub use hash_type::HashType;
pub use hash_type::PrimitiveHashType;
#[cfg(not(feature = "string-encoding"))]
pub mod encode_raw;
#[cfg(feature = "string-encoding")]
pub mod encode;
#[cfg(feature = "string-encoding")]
pub mod hash_b64;
#[cfg(feature = "fixturators")]
pub mod fixt;
#[cfg(feature = "hashing")]
mod hash_ext;
#[cfg(feature = "serialized-bytes")]
mod hashable_content;
#[cfg(feature = "serialized-bytes")]
mod hashed;
#[cfg(feature = "serialized-bytes")]
mod ser;
#[cfg(feature = "hashing")]
pub use hash_ext::*;
#[cfg(feature = "serialized-bytes")]
pub use hashable_content::*;
#[cfg(feature = "serialized-bytes")]
pub use hashed::*;
#[cfg(feature = "serialized-bytes")]
pub type HoloHashOf<C> = HoloHash<<C as HashableContent>::HashType>;