mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-21 09:45:24 -04:00
d0bdff52cf878e5bef88a135bb9ddff7599c6e2e
Add basic arbitrary-model-tests based fuzzing
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.
Description
Languages
Rust
99.5%
Python
0.3%
Shell
0.2%