Minimal template for Rust projects to be used with Nix developement environments.
- Flakes-enabled installation of Nix
I like to use cargo-generate
cargo generate eddien24/rust-template
nix develop
: start developement shell.- First launch: need to
git add .
so it createsflake.lock
- First launch: need to
- Use
cargo
as you would for building, testing, etc
Modified from MordragT/nix-templates.