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
// SPDX-License-Identifier: MIT
// Copyright 2023 IROX Contributors

#![forbid(unsafe_code)]
#![warn(clippy::alloc_instead_of_core)]
#![warn(clippy::std_instead_of_alloc)]
#![warn(clippy::std_instead_of_core)]
#![cfg_attr(not(feature = "std"), no_std)]

extern crate alloc;
extern crate core;

pub use buf::*;
pub use hash::*;
pub use primitives::*;
pub use util::*;

#[macro_use]
pub mod ansi_colors;
pub mod arrays;
#[macro_use]
pub mod assert;
pub mod codec;
#[macro_use]
pub mod fmt;
pub mod hex;
pub mod iterators;
pub mod options;
pub mod packetio;
pub mod random;
#[cfg(feature = "std")]
pub mod read;
#[cfg(feature = "std")]
pub mod sync;
pub mod vec;

pub mod errors;
pub mod fs;
mod hash;
mod primitives;

mod buf;
mod util;