Skip to content

Files

Latest commit

 

History

History
13 lines (11 loc) · 344 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 344 Bytes

This projects demonstrates that crane copies the binary created by cargo test into the output and not the binary created by cargo build.

This can make a difference because the binary built by cargo test also uses dev-dependencies.

$ nix run .#with-crane
Dev!
$ nix run .#with-nixpkgs
Not dev