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
//! Common structs and abstractions used by `toad`

// x-release-please-start-version
#![doc(html_root_url = "https://docs.rs/toad-common/0.15.0")]
// x-release-please-end
#![cfg_attr(all(not(test), feature = "no_std"), no_std)]
#![cfg_attr(not(test), forbid(missing_debug_implementations, unreachable_pub))]
#![cfg_attr(not(test), deny(unsafe_code, missing_copy_implementations))]
#![allow(clippy::unused_unit)]
#![deny(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(feature = "alloc")]
extern crate alloc as std_alloc;

/// Extensions to Result
pub mod result;
pub use result::*;

/// Hashing
pub mod hash;

/// Function utils
pub mod fns;
pub use fns::*;

/// Cursor
pub mod cursor;
pub use cursor::*;

/// Stem Cell
pub mod stem;
pub use stem::*;

/// Map
pub mod map;
pub use map::*;

/// Array
pub mod array;
pub use array::*;

/// Writable
pub mod writable;
pub use writable::*;