default-vec2
A simple Vec-like data structure with default elements and a bitset built using it.
It is #![no-std], and #![forbid(unsafe_code)], but does use alloc
Comparisons
vs default-vec
- This crate does not use unsafe code or rely on the unstable
RawVectype
vs bit-set
- This
BitSetfits in 2usizes whilebit-settakes 4.
vs fixedbitset
- This
BitSetfits in 2usizes whilefixedbitsettakes 3. - This
BitSetwill automatically increase its capacity as need - This crate doesn't use any unsafe code