about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-22T09·23+0300
committerclbot <clbot@tvl.fyi>2023-09-22T12·12+0000
commit8f56e71cba1e40ebf8fa0a7462f7892689115302 (patch)
tree9af595c2e6b1202fcf177510c34443f4cdb21354
parent3d064f714cd84fb13e6d875af899190248d1b1e3 (diff)
feat(tvix/shell): add cargo-machete r/6626
This helps spotting unused crate dependencies.

It's preferred over cargo-udeps for the reasons described in
https://blog.benj.me/2022/04/27/cargo-machete/

Change-Id: Ie801004485858741f2fa5ae6f33bd0ddfc292cd0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9374
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
-rw-r--r--tvix/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/default.nix b/tvix/default.nix
index e12ff9522f..8082a13155 100644
--- a/tvix/default.nix
+++ b/tvix/default.nix
@@ -91,6 +91,7 @@ in
     packages = [
       pkgs.buf-language-server
       pkgs.cargo
+      pkgs.cargo-machete
       pkgs.clippy
       pkgs.evans
       pkgs.fuse