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
F3629105: D7247.diff
Thu, Jan 2, 8:49 PM
Unknown Object (File)
Dec 4 2024, 3:29 AM
Unknown Object (File)
Dec 4 2024, 3:29 AM
Unknown Object (File)
Dec 4 2024, 3:29 AM
Unknown Object (File)
Nov 17 2024, 3:30 PM
Unknown Object (File)
Nov 10 2024, 1:25 PM
Unknown Object (File)
Nov 8 2024, 4:18 PM
Unknown Object (File)
Nov 4 2024, 12:11 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