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 util;
16
17#[cfg(feature = "rayon")]
18pub mod par_iter;
19
20#[cfg(all(not(clippy), feature = "col_major", feature = "row_major"))]
21compile_error!("Cargo features col_major and row_major are mutually exclusive. Please enable only one of them.");