we can run cargo-udeps in cargo projects to identify and prune unused dependencies.
i'm not sure why we have to add the program in nativeBuildInputs, because it seems to work fine in my nix shell even without it there.
Differential D7247
[nix] add tool to identify unused dependencies in Cargo projects Authored by varun on Mar 30 2023, 3:34 AM.
Details
we can run cargo-udeps in cargo projects to identify and prune unused dependencies. i'm not sure why we have to add the program in nativeBuildInputs, because it seems to work fine in my nix shell even without it there. ran cargo-udeps in my nix shell successfully
Diff Detail
|