osom_arrays_std/lib.rs
1//! This crate provides standard array variants,
2//! i.e. arrays with [`StdAllocator`] bound.
3//!
4//! This crate is `#![no_std]`, however it does use
5//! [`osom_alloc_std`] under the hood, which requires
6//! `alloc` external crate.
7#![deny(warnings)]
8#![warn(clippy::all, clippy::pedantic)]
9#![allow(clippy::inline_always)]
10#![no_std]
11
12use osom_alloc_std::StdAllocator;
13use osom_arrays::dynamic_array::DynamicArray;
14
15/// The standard [`DynamicArray`], with [`StdAllocator`] attached.
16pub type StdDynamicArray<T> = DynamicArray<T, StdAllocator>;