Skip to content

Replace cargo-udeps with cargo-machete#58

Merged
frisoft merged 5 commits intomainfrom
cargo-machete-replacement
Apr 1, 2026
Merged

Replace cargo-udeps with cargo-machete#58
frisoft merged 5 commits intomainfrom
cargo-machete-replacement

Conversation

@frisoft
Copy link
Copy Markdown
Owner

@frisoft frisoft commented Apr 1, 2026

This PR replaces (which requires nightly Rust) with cargo-machete found the following unused dependencies in this directory:
ateam -- ./Cargo.toml:
log

If you believe cargo-machete has detected an unused dependency incorrectly,
you can add the dependency to the list of dependencies to ignore in the
[package.metadata.cargo-machete] section of the appropriate Cargo.toml.
For example:

[package.metadata.cargo-machete]
ignored = ["prost"]

You can also try running it with the --with-metadata flag for better accuracy,
though this may modify your Cargo.lock files. (which works with stable Rust).

Changes:

  • flake.nix: Changed to cargo-machete found the following unused dependencies in this directory:
    ateam -- ./Cargo.toml:
    log

If you believe cargo-machete has detected an unused dependency incorrectly,
you can add the dependency to the list of dependencies to ignore in the
[package.metadata.cargo-machete] section of the appropriate Cargo.toml.
For example:

[package.metadata.cargo-machete]
ignored = ["prost"]

You can also try running it with the --with-metadata flag for better accuracy,
though this may modify your Cargo.lock files. in dev shell build inputs

  • maintenance.sh: Added for safer error handling, changed to cargo-machete found the following unused dependencies in this directory:
    ateam -- ./Cargo.toml:
    log

If you believe cargo-machete has detected an unused dependency incorrectly,
you can add the dependency to the list of dependencies to ignore in the
[package.metadata.cargo-machete] section of the appropriate Cargo.toml.
For example:

[package.metadata.cargo-machete]
ignored = ["prost"]

You can also try running it with the --with-metadata flag for better accuracy,
though this may modify your Cargo.lock files.

Note: cargo-machete detected one unused dependency ( in ateam crate) that may need to be addressed separately.

@frisoft frisoft force-pushed the cargo-machete-replacement branch from f4ece65 to 8e1fa67 Compare April 1, 2026 21:09
@frisoft frisoft merged commit 864a318 into main Apr 1, 2026
7 checks passed
@frisoft frisoft deleted the cargo-machete-replacement branch April 1, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant