p3_koala_bear/
lib.rs

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