osom_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#![warn(clippy::all, clippy::pedantic)]
7#![allow(clippy::inline_always)]
8#![no_std]
9
10pub(crate) mod as_i32;
11
12/// Holds the length-related primitives.
13pub mod length;
14mod length_ops;
15
16/// Holds the offset-related primitives.
17pub mod offset;
18mod offset_ops;
19
20/// Holds [`cresult::CResult`] struct, which is a
21/// `#[repr(C)]` variant of `Result`.
22pub mod cresult;
23
24/// Holds several helpful macros related to primitives.
25pub mod macros {
26 pub use ::osom_primitives_proc_macros::*;
27}