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
#![cfg_attr(not(any(test, feature = "std")), no_std)]
#![cfg_attr(feature = "unstable", feature(stdsimd))]
#![deny(
missing_debug_implementations,
clippy::all,
clippy::cargo,
clippy::missing_inline_in_public_items
)]
#![warn(clippy::todo)]
#[cfg(feature = "alloc")]
extern crate alloc;
#[macro_export]
macro_rules! item_group {
($($item:item)*) => {
$($item)*
}
}
#[macro_use]
pub mod tools;
#[macro_use]
pub mod traits;
pub mod arch {
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
pub mod x86;
#[cfg(all(feature = "unstable", target_arch = "arm"))]
pub mod arm;
#[cfg(all(feature = "unstable", target_arch = "aarch64"))]
pub mod aarch64;
#[cfg(target_arch = "wasm32")]
pub mod wasm;
}
pub mod common {
pub mod crc32;
pub mod hex;
}