0.11.0 (current)
From zcash/rust-ecosystem copy of zcash/librustzcash. By Kris Nuttycombe.
These reviews are from cargo-vet. To add your review, set up cargo-vet
and submit your URL to its registry.
0.11.0 (current)
From zcash/rust-ecosystem copy of zcash/librustzcash. By Kris Nuttycombe.
The current version of NonEmpty is 0.11.0.
0.8.1 (older version)
From kornelski/crev-proofs copy of salsa.debian.org.
Only in debcargo (unstable). Changelog:
0.7.0 (older version)
From kornelski/crev-proofs copy of git.savannah.gnu.org.
Packaged for Guix (crates-io)
cargo-vet does not verify reviewers' identity. You have to fully trust the source the audits are from.
This crate will not introduce a serious security vulnerability to production software exposed to untrusted input. More…
This crate can be compiled, run, and tested on a local workstation or in controlled automation without surprising consequences. More…
May have been packaged automatically without a review
Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories. There is absolutely no guarantee that the repository URL declared by the crate belongs to the crate, or that the code in the repository is the code inside the published tarball.
To review the actual code of the crate, it's best to use cargo crev open nonempty
. Alternatively, you can download the tarball of nonempty v0.11.0 or view the source online.
Additional use of
unsafe
to wrapNonZeroUsize::new_unchecked
; in both cases the argument to this method is<Vec length or capacity> + 1
; in general this is safe with the exception that if an existingVec
has length or capacityusize::MAX
this could wrap into zero; it would be better to use the safe operation and thenexpect
to generate a panic, rather than risk undefined behavior.Additions are:
nonzero
module (just wrappersserde
supportnonempty macro
(trivial, verified safe)