Skip to main content

osom_lib_primitives/
lib.rs

1//! This crate defines various primitives that osom
2//! libraries use.
3//!
4//! The crate is `#![no_std]`.
5#![deny(warnings)]
6#![allow(unused_features)]
7#![warn(clippy::all, clippy::pedantic)]
8#![allow(clippy::inline_always)]
9#![no_std]
10
11pub mod macros {
12    //! Holds several helpful macros related to primitives.
13
14    #[doc(inline)]
15    pub use ::osom_lib_primitives_proc_macros::*;
16}
17
18pub mod align;
19pub mod cresult;
20pub mod fraction;
21pub mod length;
22pub mod offset;
23pub mod power_of_two;
24
25pub(crate) mod as_i32;
26mod length_ops;
27mod offset_ops;
28
29mod checks;