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 Thiserror is 2.0.9.

1.0.56 — diff review from 1.0.52 only (older version) safe-to-deploy

From zcash/rust-ecosystem copy of zcash/zcash. By str4d.

Build script changes are to refactor the existing probe into a separate file (which removes a filesystem write), and adjust how it gets rerun in response to changes in the build environment.

1.0.37 — diff review from 1.0.32 only (older version) safe-to-deploy

From zcash/rust-ecosystem copy of zcash/zcash. By Jack Grigg.

The new build script invokes rustc to determine whether it supports the Provider API. The only side-effect is it overwrites $OUT_DIR/probe.rs, which is fine because it is unique to the thiserror package.

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

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

does-not-implement-crypto (implies crypto-safe)

Inspection reveals that the crate in question does not attempt to implement any cryptographic algorithms on its own.

Note that certification of this does not require an expert on all forms of cryptography: it's expected for crates we import to be "good enough" citizens, so they'll at least be forthcoming if they try to implement something cryptographic. When in doubt, please ask an expert.

crypto-safe
Implied by other criteria

All crypto algorithms in this crate have been reviewed by a relevant expert.

Note: If a crate does not implement crypto, use does-not-implement-crypto, which implies crypto-safe, but does not require expert review in order to audit for.

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 Thiserror is 2.0.9.

1.0.31 (older version) Rating: Positive Thoroughness: High Understanding: Medium

by LovecraftianHorror on 2022-06-11

The bulk of the logic is in thiserror_impl. This crate just contains a handful of private traits to extend functionality of Path, PathBuf, and some generic types

1.0.30 (older version) Rating: Strong Positive Thoroughness: Medium Understanding: High

Approved without comment by samueltardieu on 2022-01-06

1.0.24 (older version) Rating: Positive Thoroughness: Low Understanding: Medium

by andrewaylett on 2021-04-08

This crate contains little implementation, reviewing the impl crate would be a lot more effort.

1.0.4 (older version) Rating: Positive Thoroughness: Low Understanding: Low

by dbrgn on 2019-11-27

This is mostly just a wrapper around thiserror_impl, so not much to do wrong there. I don't understand the undocumented private::AsDynError trait though, it doesn't seem to be used in any examples or tests.


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 thiserror. Alternatively, you can download the tarball of thiserror v2.0.9 or view the source online.