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

Reviewed in CL 624267108 Issues found:

  • error.rs: Unsoundly transmutes into std error types, making assumptions about stability and layout
  • fmt.rs: GenericRadix trait should be unsafe
  • fmt.rs: fmt_u256 has safety comments that are incorrect

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

ub-risk-4

Extreme unsoundness.

Full description of the audit criteria can be found at https://github.com/google/rust-crate-audits/blob/main/auditing_standards.md#ub-risk-4


Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository with a git tag matching the version. 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 ethnum. Alternatively, you can download the tarball of ethnum v1.5.0 or view the source online.