1#![doc = include_str!("./Lib.md")]
4#![warn(clippy::all)]
8#![allow(non_snake_case, non_camel_case_types, clippy::module_inception)]
9#![allow(unused_attributes, unused_doc_comments)] #![cfg_attr(not(feature = "std"), no_std)]
12#![cfg_attr(feature = "safe", forbid(unsafe_code))]
13#![cfg_attr(feature = "nightly", feature(doc_cfg))]
14#[cfg(feature = "alloc")]
15extern crate alloc;
16
17#[cfg(all(feature = "std", feature = "no-std"))]
19compile_error!("You can't enable the `std` and `no-std` features at the same time.");
20#[cfg(all(
21 feature = "safe",
22 any(
23 feature = "unsafe",
24 feature = "unsafe_constructors",
25 feature = "unsafe_unit",
26 )
27))]
28compile_error!("You can't enable the `safe` and `unsafe*` features at the same time.");
29devela::deprecate_feature![old: "no-std", new: "no_std", since: "0.0.29"];
31
32pub mod error;
33pub mod grid;
34pub mod list;
35pub mod mem;
38pub mod misc;
39pub mod unit;
41
42pub mod all {
44 #[doc(inline)]
45 pub use super::{error::*, grid::*, list::all::*, mem::all::*, misc::*, unit::all::*};
46}