1#![no_std]
2
3#[cfg(test)]
4extern crate alloc;
5
6#[cfg(test)]
7mod extension_test;
8mod koala_bear;
9mod mds;
10mod poseidon1;
11mod poseidon2;
12
13pub use koala_bear::*;
14pub use mds::*;
15pub use poseidon1::*;
16pub use poseidon2::*;
17
18#[cfg(all(target_arch = "aarch64", target_feature = "neon"))]
19mod aarch64_neon;
20#[cfg(all(target_arch = "aarch64", target_feature = "neon"))]
21pub use aarch64_neon::*;
22
23#[cfg(all(
24 target_arch = "x86_64",
25 target_feature = "avx2",
26 not(target_feature = "avx512f")
27))]
28mod x86_64_avx2;
29#[cfg(all(
30 target_arch = "x86_64",
31 target_feature = "avx2",
32 not(target_feature = "avx512f")
33))]
34pub use x86_64_avx2::*;
35
36#[cfg(all(target_arch = "x86_64", target_feature = "avx512f"))]
37mod x86_64_avx512;
38#[cfg(all(target_arch = "x86_64", target_feature = "avx512f"))]
39pub use x86_64_avx512::*;