btree-vec-0.2.1 has been yanked.
btree-vec
This crate provides a growable array (vector) implemented using a B-tree (more specifically, a B+ tree). It provides non-amortized O(log n) random accesses, insertions, and removals, as well as O(n) iteration. The branching factor is also customizable.
The design is similar to unsorted counted B-trees as described by Simon Tatham.
For now, the vector supports insertions and removals only of single
elements, but bulk operations, including implementations of Extend
and FromIterator, may be added in the future.
Example
let mut vec = new;
for i in 0..20
for i in 0..10
for i in 0..10
for i in 0..10
assert!;
for in vec.iter.copied.enumerate