Page MenuHomePhabricator

[nix] add tool to identify unused dependencies in Cargo projects
ClosedPublic

Authored by varun on Mar 29 2023, 8:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 13, 7:14 AM
Unknown Object (File)
Wed, Apr 17, 6:22 PM
Unknown Object (File)
Wed, Apr 17, 6:22 PM
Unknown Object (File)
Wed, Apr 17, 6:22 PM
Unknown Object (File)
Wed, Apr 17, 6:17 PM
Unknown Object (File)
Mar 9 2024, 9:15 AM
Unknown Object (File)
Mar 5 2024, 11:18 PM
Unknown Object (File)
Mar 5 2024, 11:18 PM
Subscribers

Details

Reviewers
jon
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMMd55a223b114d: [nix] add tool to identify unused dependencies in Cargo projects
Summary

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.

Test Plan

ran cargo-udeps in my nix shell successfully

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable