logo

Rust crates reviews

Cryptographically verifiable, distributed dependency reviews

crate: arrayvec

https://lib.rs/crates/arrayvec/

Add the last reviewed version to Cargo.toml / [dependencies]:

arrayvec = "0.7.2"

Filter reviews clicking on the numbers in the summary.

Full column names in tooltip hints: rating Negative, rating Neutral, rating Positive, rating Strong, thoroughness, understanding, reviews count.

Neg
Neu
Pos
Str
tho
und
rev
13
8
1
1
1
1
1
2
2
2
1
2
1
2
1
2
1
crate version
rating
date
reviewer
thoroughness, understanding
arrayvec 0.5.0
neutral
2019-09-25
medium, medium

Stack/value variable length arrays without heap fallback.

Pros:

  • Maybe sound?
  • Better than what you'll write.

Cons:

  • History of unsoundness (0.4.10 and earlier)
  • Disturbing amounts of unsafe
DiffRatingNotes
.cargo_vs_info.json+1
.travis.yml+1MSRV bumped to 1.36.0, features tweaked.
Cargo.toml+1feature "serde-1" -> "serde", 2018 edition, drop cruft
Cargo.toml.orig+1
README.rst0"(not yet released)" no longer accurate.
benches/extend.rs+1+black_box
build.rs+1Dropped?
src/array.rs+1Improved safety docs, although could use more explaination of what relies on the invariants. () and bool indexing for 1/2-len arrays.
src/array_string.rs0mem::zeroed -> MaybeUninitCopy::uninitialized. Lots of Copy constraints, one transmute -> from_utf8_unchecked_mut (safer).
src/lib.rs0truncate now unsafe (but sound), new try_extend_from_slice is unsafe (but sound). ArrayVec::extend ZST handling is obtuse, would be unsound in C++, but I believe sound in Rust, maybe?
src/maybe_uninit.rs+1
src/maybe_uninit_nodrop.rs+1Removed
src/maybe_uninit_stable.rs+1Removed
src/range.rs+1Removed
tests/serde.rs+1
tests/tests.rs+1New test cases

© bestia.dev 2023, MIT License, Version: 2023.608.1636

Open source repository for this web app: https://github.com/bestia-dev/cargo_crev_web/