Skip to main content

osom_lib_arrays/
lib.rs

1//! This crate defines various array implementations. All of them
2//! are ABI stable (as in `#[repr(C)]`).
3//!
4//! The crate is `#![no_std]`.
5//!
6//! Enable `serde` support by adding `serde` feature.
7#![deny(warnings)]
8#![allow(unused_features)]
9#![cfg_attr(docsrs, feature(doc_cfg))]
10#![cfg_attr(docsrs, allow(unused_attributes))]
11#![warn(clippy::all, clippy::pedantic)]
12#![allow(clippy::redundant_field_names, clippy::inline_always)]
13#![no_std]
14
15pub mod const_helpers;
16pub mod dynamic_array;
17pub mod errors;
18pub mod fixed_array;
19pub mod traits;
20
21#[cfg(feature = "std")]
22#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
23pub mod std;
24
25#[cfg(feature = "serde")]
26mod serde_impl;