| 1 |
//! ⚠️ This crate contains shared implementation details. Do not directly depend on it. |
| 2 |
#![cfg_attr(not(any(test, feature = "std")), no_std)] |
| 3 |
#![cfg_attr( |
| 4 |
feature = "unstable", |
| 5 |
feature(stdsimd), |
| 6 |
feature(arm_target_feature), |
| 7 |
feature(portable_simd), |
| 8 |
feature(inline_const), |
| 9 |
feature(array_chunks) |
| 10 |
)] |
| 11 |
#![cfg_attr(docsrs, feature(doc_cfg))] |
| 12 |
#![cfg_attr(test, deny(warnings))] |
| 13 |
// |
| 14 |
#![deny( |
| 15 |
missing_debug_implementations, |
| 16 |
missing_docs, |
| 17 |
clippy::all, |
| 18 |
clippy::pedantic, |
| 19 |
clippy::cargo, |
| 20 |
clippy::missing_inline_in_public_items |
| 21 |
)] |
| 22 |
#![warn(clippy::todo)] |
| 23 |
#![allow( |
| 24 |
clippy::inline_always, |
| 25 |
missing_docs, |
| 26 |
clippy::missing_safety_doc, |
| 27 |
clippy::missing_errors_doc, |
| 28 |
clippy::missing_panics_doc, |
| 29 |
clippy::cast_possible_truncation, |
| 30 |
clippy::cast_sign_loss, |
| 31 |
clippy::cast_possible_wrap, |
| 32 |
clippy::cast_lossless, |
| 33 |
clippy::verbose_bit_mask, |
| 34 |
clippy::module_name_repetitions, |
| 35 |
clippy::wildcard_imports, |
| 36 |
clippy::items_after_statements, |
| 37 |
clippy::match_same_arms, |
| 38 |
clippy::many_single_char_names |
| 39 |
)] |
| 40 |
|
| 41 |
#[cfg(feature = "alloc")] |
| 42 |
extern crate alloc; |
| 43 |
|
| 44 |
#[macro_use] |
| 45 |
mod macros; |
| 46 |
|
| 47 |
#[macro_use] |
| 48 |
pub mod isa; |
| 49 |
|
| 50 |
pub mod vector; |
| 51 |
|
| 52 |
#[macro_use] |
| 53 |
pub mod pod; |
| 54 |
pub use self::pod::POD; |
| 55 |
|
| 56 |
mod simulation; |
| 57 |
mod unified; |
| 58 |
|
| 59 |
mod simd64; |
| 60 |
pub use self::simd64::SIMD64; |
| 61 |
|
| 62 |
mod simd128; |
| 63 |
pub use self::simd128::SIMD128; |
| 64 |
|
| 65 |
#[macro_use] |
| 66 |
mod simd256; |
| 67 |
pub use self::simd256::SIMD256; |
| 68 |
|
| 69 |
mod scalable; |
| 70 |
pub use self::scalable::Scalable; |
| 71 |
|
| 72 |
mod algorithm; |
| 73 |
|
| 74 |
pub mod tools; |
| 75 |
|
| 76 |
#[macro_use] |
| 77 |
pub mod alsw; |
| 78 |
|
| 79 |
pub mod ascii; |
| 80 |
pub mod bswap; |
| 81 |
pub mod hex; |
| 82 |
pub mod mask; |
| 83 |
pub mod native; |
| 84 |
pub mod table; |
| 85 |
|
| 86 |
#[cfg(feature = "unstable")] |
| 87 |
pub mod unstable; |