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
Remove the stale dev dependency from bittorrent-tracker-core on torrust-rest-tracker-api-client. A pre-implementation audit revealed that the dependency is
declared in packages/tracker-core/Cargo.toml but is never imported or used anywhere in src/ or tests/. The fix is a one-line Cargo.toml deletion.
The entry was listed in [dev-dependencies] of packages/tracker-core/Cargo.toml, which
caused the coupling tool to report it as a layer violation. However, auditing packages/tracker-core/tests/ and packages/tracker-core/src/ shows zero uses of torrust_rest_tracker_api_client anywhere in the crate. The dependency is dead — left over
from a previous refactor.
No code movement or extraction is needed. cargo machete would also flag this as an unused
dependency.
This is subissue SI-06 of EPIC #1669 (Overhaul: Packages).
Acceptance Criteria
packages/tracker-core/Cargo.toml does not list torrust-rest-tracker-api-client in [dev-dependencies].
All bittorrent-tracker-core integration tests still compile and pass.
cargo build --workspace succeeds with zero errors.
cargo test --workspace passes with zero failures.
linter all exits with code 0.
Note
Pre-implementation audit confirmed the dependency is unused. The fix is a one-line deletion from [dev-dependencies].
Activity
docs(issues): apply formatting fixes to spec torrust#1813 and EPIC to…
docs(issues): add and close issue specification for #1813 (SI-06)
Merge torrust#1814: docs(issues): add and close issue specification for