human_units/
lib.rs

1#![cfg_attr(not(feature = "std"), no_std)]
2#![doc = include_str!("../README.md")]
3
4#[cfg(feature = "no_std")]
5compile_error!("Please use `cfg(not(feature = \"std\"))` instead of `cfg(feature = \"no_std\")`.");
6
7mod buffer;
8mod compat;
9mod duration;
10mod duration_format;
11#[cfg(feature = "serde")]
12mod duration_serde;
13mod error;
14pub mod iec;
15#[doc(hidden)]
16pub mod imp;
17pub mod si;
18mod size;
19mod size_format;
20#[cfg(feature = "serde")]
21mod size_serde;
22
23pub use self::buffer::*;
24pub(crate) use self::compat::*;
25pub use self::duration::*;
26pub use self::duration_format::*;
27pub use self::error::*;
28pub use self::size::*;
29pub use self::size_format::*;