Expand description
Crate with parts of Rust std library ( different implementations, features not yet stabilised etc ),
in particular Box, Vec, Rc, String and collections::{ BTreeMap, BTreeSet, HashMap, HashSet }.
Box, Rc and String currently only have minimal methods/traits implemented.
HashMap and HashSet are imported from the hashbrown crate.
RcStr is a reference-counted string based on RcSlice.
The localalloc module has fast thread-local bump allocators.
§Features
This crate supports the following cargo features:
Re-exports§
pub use vec::Vec;pub use string::String;pub use boxed::Box;pub use rc::Rc;pub use rc::RcSlice;pub use rc::RcStr;
Modules§
- alloc
- Memory allocation.
- boxed
Boxsimilar tostd::boxed::Box.- collections
- Containers: BTreeMap, BTreeSet, HashMap and HashSet.
- localalloc
- Thread-local bump allocators.
- rc
Rcsimilar tostd::rc::Rc.- string
Stringsimilar tostd::string::String- vec
Vecsimilar tostd::vec::Vec.