rstsr_common/
lib.rs

1#![allow(unknown_lints)]
2#![allow(clippy::needless_return)]
3// Resolution to something like `tensor.slice_mut() += scalar`.
4// This code is not allowed in rust, but `*&mut tensor.slice_mut() += scalar` is allowed.
5#![allow(clippy::deref_addrof)]
6// Allow `a % b == 0` instead of `is_multiple_of`
7// which is only stabilized after rustc 1.89
8#![allow(clippy::manual_is_multiple_of)]
9
10pub mod prelude;
11pub mod prelude_dev;
12
13pub mod alloc_vec;
14pub mod axis_index;
15pub mod error;
16pub mod flags;
17pub mod format_layout;
18pub mod layout;
19pub mod pack_array;
20pub mod util;
21
22#[cfg(feature = "rayon")]
23pub mod par_iter;
24
25#[cfg(all(not(clippy), feature = "col_major", feature = "row_major"))]
26compile_error!("Cargo features col_major and row_major are mutually exclusive. Please enable only one of them.");