rstsr_common/
lib.rs

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