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.1
neutral
2019-12-22
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

This version switched some slices possibly containing uninit (UB!) to use
pointers instead. This makes encode_utf8 unsafe, sadly.

DiffRatingNotes
.cargo_vcs_info.json+1
.gitignore+1
Cargo.lock+1Rust version bump?
Cargo.toml+1debug [profile.*]
Cargo.toml.orig+1debug [profile.*]
README.rst+1
*.{events,string_data,string_index}0Binary test files, unreviewed
src/array.rs+1Removed #[inline]
src/array_string.rs+1Added fn len, removed #[inline], use ptr instead of slice
src/chars.rs+1encode_utf8 is now sadly unsafe, more test coverage
src/lib.rs+1Inline tweaks, more (correct) ptr use, add as_*_ptr to match Vec (safe/sound)

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

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