sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
cfg_select! {
    all(
        feature = "multithread",
        not(all(target_os = "macos", feature = "apple-sandbox")),
    ) => {
        /// Converts the value into a parallel iterator when the `multithread` feature is enabled.
        #[cfg(all(
            feature = "multithread",
                not(all(target_os = "macos", feature = "apple-sandbox")),
        ))]
        #[allow(dead_code)]
        pub(crate) fn into_iter<T>(val: T) -> T::Iter
        where
            T: rayon::iter::IntoParallelIterator,
        {
            val.into_par_iter()
        }

    }
    _ => {
        /// Converts the value into a sequential iterator when the `multithread` feature is disabled.
        #[allow(dead_code)]
        pub(crate) fn into_iter<T>(val: T) -> T::IntoIter
        where
            T: IntoIterator,
        {
            val.into_iter()
        }

        // In the multithreaded `into_iter_mut` above, the `&mut` on the argument indicates that the parallel iterator is an exclusive reference.

    }
}