These reviews are from cargo-vet. To add your review, set up cargo-vet and submit your URL to its registry.

The current version of CStr is 0.2.12.

0.2.10 (older version) safe-to-deploy

From mozilla/supply-chain copy of hg. By Emilio Cobos Álvarez.

I've reviewed the code of the crate thoroughly. It generates an unsafe block which is statically guaranteed to be safe. Inputs to the macro have to be static so there's no uncontrolled input whatsoever.

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

safe-to-deploy (implies safe-to-run)

This crate will not introduce a serious security vulnerability to production software exposed to untrusted input. More…

safe-to-run
Implied by other criteria

This crate can be compiled, run, and tested on a local workstation or in controlled automation without surprising consequences. More…

unknown

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 cstr. Alternatively, you can download the tarball of cstr v0.2.12 or view the source online.