crates.io wrapped in nix
rust nix
Nix 80%
Rust 20%

README.md

nix2cargo #

nix2cargo is a wrapper around cargo that points to a specific local version of the crates.io package index. This allow to generate & update Cargo.lock reproducibly and without network access, for instance inside the Nix sandbox.

Example #

See lockfile.nix that generates the lockfile of this repository from the manifest.