Skip to main content

pstd/
lib.rs

1#![deny(missing_docs)]
2
3//! Crate with parts of Rust std library ( different implementations, features not yet stabilised etc ), in particular [`collections::BTreeMap`], [`collections::BTreeSet`] and [`vec::Vec`].
4
5//!# Features
6//!
7//! This crate supports the following cargo features:
8//! - `serde` : enables serialisation of [`collections::BTreeMap`] and [`collections::BTreeSet`] via serde crate.
9//! - `unsafe-optim` : Enable unsafe optimisations in release mode.
10
11/// Memory allocation.
12pub mod alloc;
13
14/// Containers.
15pub mod collections;
16
17/// [`vec::Vec`] similar to [`std::vec::Vec`], not yet well tested.
18pub mod vec;
19
20#[cfg(test)]
21mod testing {
22    pub mod crash_test;
23    pub mod macros;
24}