Programming language: Rust
License: Apache License 2.0
Tags: Development Tools    
Latest version: v0.5.1

rustfix alternatives and similar packages

Based on the "Development tools" category.
Alternatively, view rustfix alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of rustfix or a related project?

Add another 'Development tools' Package



The goal of this tool is to read and apply the suggestions made by rustc.

Current status

Currently, rustfix is split into two crates:

  • rustfix, a library for consuming and applying suggestions in the format that rustc outputs
  • and cargo-fix, a binary that works as cargo subcommand and that end users will use to fix their code.

The magic of rustfix is entirely dependent on the diagnostics implemented in the Rust compiler (and external lints, like clippy).


To use the rustfix library, add it to your Cargo.toml.

To get the tool to automatically fix warnings in, run cargo install cargo-fix. This will give you cargo fix.

Using cargo fix --edition to transition to Rust 2021

Instructions on how to use this tool to transition a crate to Rust 2021 can be found in the Rust Edition Guide.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

*Note that all licence references and agreements mentioned in the rustfix README section above are relevant to that project's source code only.