tinyvec 0.1.1

Just, really the littlest Vec you could need. So smol.
Documentation

License:Zlib Minimum Rust Version travis.ci AppVeyor crates.io docs.rs

Unsafe-Zero-Percent

tinyvec

Just, really the littlest Vec you could need. So smol.

This is one of those crates where an initial small number of elements will be kept on the stack, and then if you overflow that it will quietly transition everything into being a totally normal alloc::vec::Vec.

What sets this crate apart from others like it is that it has #![forbid(unsafe_code)] right at the top, and then requires that the element type have a Default impl. This is a slight restriction compared to a normal Vec, but that's still a very large number of types that you can use.