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