Analysis tools logo
1

cargo-unused-features

Find potential unused enabled feature flags and prune them. You can generate a simple HTML report from the json to make it easier to inspect results. It removes a feature of a dependency and then compiles the project to see if it still compiles. If it does, the feature flag can possibly be removed, but it can be a false-positve.

Github:
    6666412022
Workflow integration:
  • Type: cli
    cli

Official cargo-unused-features Homepage

https://github.com/TimonPost/cargo-unused-features

MIT

Maintained

Alternative Tools

  • 10trunk
  • 2todocheck
  • 2trivy
  • 0Sigrid
  • 0warnalyzer