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

The current version of PeakAlloc is 0.2.1.

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

by kornelski on 2021-10-05

It really is a thin wrapper around System.alloc (too bad it can't wrap other allocators)


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