1#![cfg_attr(not(feature = "std"), no_std)]
2#![forbid(unsafe_code)]
3#![deny(missing_docs)]
4#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
5#![allow(clippy::approx_constant)]
6#![allow(clippy::module_name_repetitions)]
7#![allow(clippy::cast_possible_truncation)]
8#![allow(clippy::cast_sign_loss)]
9#![allow(clippy::cast_precision_loss)]
10#![allow(clippy::missing_errors_doc)]
11#![allow(clippy::missing_panics_doc)]
12#![allow(clippy::return_self_not_must_use)]
13#![allow(clippy::missing_const_for_fn)]
14#![allow(clippy::float_cmp)]
15#![allow(clippy::cast_possible_wrap)]
16#![allow(clippy::unreadable_literal)]
17#![allow(clippy::many_single_char_names)]
18
19
20extern crate alloc;
26
27#[cfg(all(not(feature = "std"), not(feature = "libm")))]
36compile_error!(
37 "mathverse-core: either the `std` or `libm` feature must be enabled. \
38 no_std builds require `libm` for transcendental function support."
39);
40
41pub mod algorithms;
42pub mod arrays;
43pub mod constants;
44pub mod error;
45pub mod float;
46pub mod integer;
47pub mod ops;
48pub mod precision;
49pub mod prelude;
50pub mod traits;
51
52#[cfg(all(not(feature = "std"), feature = "libm"))]
56pub mod libm_fallback;