1#![forbid(unsafe_code)]
6#![warn(clippy::alloc_instead_of_core)]
7#![warn(clippy::std_instead_of_alloc)]
8#![warn(clippy::std_instead_of_core)]
9#![cfg_attr(not(feature = "std"), no_std)]
10#![cfg_attr(docsrs, feature(doc_cfg))]
11extern crate alloc;
12extern crate core;
13pub extern crate irox_bits;
14
15pub use primitives::*;
16pub use util::*;
17
18#[macro_use]
19pub mod ansi_colors;
20pub mod arrays;
21#[macro_use]
22pub mod assert;
23pub mod codec;
24#[macro_use]
25pub mod fmt;
26pub mod hex;
27pub mod iterators;
28pub mod options;
29pub mod random;
30cfg_feature_std! {
31 pub mod read;
32 pub mod map;
33 pub mod sync;
34}
35cfg_feature_alloc! {
36 pub mod packetio;
37 pub mod vec;
38
39 mod str;
40 pub use str::*;
41}
42
43pub mod errors;
44pub mod fs;
45pub mod hash;
46mod primitives;
47
48pub mod buf;
49mod util;
50#[macro_use]
51pub mod macros;
52pub mod math;