1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! A collection of types related to the Internet Computer Protocol.
//!
//! If you need support for the serde library, you will need to use the `serde` feature
//! (available by default).

pub type Sha256Digest = [u8; 32];

/// Principal related types and traits.
pub mod principal;
#[doc(inline)]
pub use principal::{Principal, PrincipalError};

/// Hash Tree types and traits.
pub mod hash_tree;
#[doc(inline)]
pub use hash_tree::HashTree;