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

The current version of RcBox is 1.2.0.

1.0.0 (older version) Rating: Positive Thoroughness: High Understanding: High

by cad97 on 2020-02-10

I am the author of this crate. As such, I obviously trust it and believe it is useful. So this review will instead point at the trickiest parts and try to rationalize them.

Do not believe cargo-geiger for this crate. The implementation is primarily macro-generated, and cargo-geiger does not see into unsafe generated in macros.

That said, this crate is fairly simple and self-evident.

Smoke tests are run under miri, but the crate could potentially do with some more examples as well as some more tests to ensure that all of the functionality works as advertised.

I've only put this review as positive rather than strong because of a lack of real-world use. As of yet, the library is just of theoretical use, and has yet to be stress tested for real.

Crates in the 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 rc-box. Alternatively, you can download the tarball of rc-box v1.2.0 or view the source online.