Containers is a library of container types: Vec
, HashTable
, BTree
, Heap
, and RawVec
.
Unlike libstd, it returns allocational failure to the caller, who can figure out what to do about it. (It may, however, eat your laundry.)
It now (since version 0.7.0) has a "stable-rust" feature which enables building on stable rust. (It is a feature rather than automatic so we can use intrinsics rather than libc functions when possible — this is only in the default definition of Alloc::oom
, so if you never call it, you needn't care.)
Cheers!
P.S. This was formerly part of libreal, for those who remember that announcement.