This review is from cargo-vet. To add your review, set up cargo-vet and submit your URL to its registry.

The current version of lazy-bytes-cast is 7.0.0.

cargo-vet does not verify reviewers' identity. You have to fully trust the source the audits are from.

unknown

May have been packaged automatically without a review


These reviews are from Crev, a distributed system for code reviews. To add your review, set up cargo-crev.

The current version of lazy-bytes-cast is 7.0.0.

4.0.0 (older version) Rating: Negative Thoroughness: Medium Understanding: Medium

by HeroicKatora on 2020-02-26

Trait FromByteSlice relies on associated item FromByteArray::Array being a proper byte array. However, this latter trait and associated type are safe to implement with an almost arbitrary other type (a few trait std bounds don't stop any implementation).

3.0.0 (older version) Rating: Negative Thoroughness: Low Understanding: Medium

by HeroicKatora on 2020-02-26

Show review…

Version 4.0 fixes UB from casting byte slice to integer reference without any alignment checks.


Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository. Please note that this check is still in beta, and absence of this confirmation does not mean that the files don't match.

Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories, so there is a possibility that published crates have a misleading repository URL, or contain different code from the code in the repository.

To review the actual code of the crate, it's best to use cargo crev open lazy-bytes-cast. Alternatively, you can download the tarball of lazy-bytes-cast v7.0.0 or view the source online.