You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use cargo machete --with-metadata and remove unused dev dependencies #1804
Replace the plain cargo machete call in the pre-commit hook (and CI) with cargo machete --with-metadata, then remove the ~15 unused dev dependencies that this
stricter mode reveals across the workspace.
Background
During a coupling analysis review, four workspace dependencies were found to have zero references
in any source file:
Running cargo machete (plain, text-based scan) did not flag these — a false negative. Only cargo machete --with-metadata correctly identifies them as unused. The same run also reveals
about a dozen additional unused dev dependencies spread across the workspace (e.g., local-ip-address, mockall, rstest, async-std, criterion, pretty_assertions, serde_bytes, zerocopy, tracing-subscriber, formatjson, serde_json).
Switching to --with-metadata makes the gate accurate and removes dead weight from Cargo.toml
files across the workspace.
Spec
Full specification: docs/issues/open/ (see spec file for this issue number).
Activity
docs(issues): add issue specifications for torrust#1804 and torrust#1805
Merge #1806: docs(issues): add issue specifications for #1804 and #1805
docs(issues): add PR torrust#1809 to spec torrust#1804
feat(deps): use cargo machete --with-metadata and remove unused dev-d…
docs(issues): update spec torrust#1804 with implementation evidence
docs(issues): add PR torrust#1809 to spec torrust#1804
Merge torrust#1809: feat(deps): use cargo machete --with-metadata and…
chore(issues): archive closed issue specs #1790, #1793, #1795, #1797, #…
Merge #1812: chore(issues): archive closed issue specs to docs/issues…
docs(issues): add and close issue specification for #1813 (SI-06)
Merge #1814: docs(issues): add and close issue specification for #1813 …