Speeding up Rust app packaging

One reason why it takes longer than a clean cargo build is that Nix is currently building/installing the release binary target, but it’s running the tests in debug mode, so it ends up compiling all the libraries twice.

There’s work underway to try to address this, which you might be interested in trying out: