crane/docs/examples/quick-start-simple.md

323 B

To build a cargo project without extra tests, run the following in a fresh directory:

nix flake init -t github:ipetkov/crane#quick-start-simple

Alternatively, if you have an existing project already, copy and paste the following flake.nix:

{{#include ../../examples/quick-start-simple/flake.nix}}