diff -r 4e80fb049dca -r 2e4517b55442 src/lib.rs --- a/src/lib.rs Sun Apr 27 15:56:43 2025 -0500 +++ b/src/lib.rs Sun Apr 27 20:41:36 2025 -0500 @@ -1,3 +1,5 @@ +// Version of lib.rs for stable builds. + // The main documentation is in the README. #![doc = include_str!("../README.md")] // We use unicode. We would like to use much more of it than Rust allows. @@ -5,14 +7,20 @@ #![allow(uncommon_codepoints)] #![allow(mixed_script_confusables)] #![allow(confusable_idents)] +// Extra setup for builds with the nightly compiler #![cfg_attr( - feature = "nightly", - feature(maybe_uninit_array_assume_init, maybe_uninit_slice), - feature(float_minimum_maximum), - feature(get_mut_unchecked), - feature(cow_is_borrowed) + nightly, + feature( + maybe_uninit_array_assume_init, + maybe_uninit_slice, + float_minimum_maximum, + get_mut_unchecked, + cow_is_borrowed + ) )] +#[macro_use] +pub(crate) mod metaprogramming; pub mod collection; pub mod error; pub mod euclidean; @@ -39,7 +47,6 @@ pub mod linsolve; pub mod logger; pub mod mapping; -pub(crate) mod metaprogramming; pub mod nalgebra_support; pub mod operator_arithmetic; pub mod sets;