cargo/crates/rustfix
Eric Huss e7eaa51909 cargo fix: Call rustc fewer times.
This changes `cargo fix` so that it keeps track of the output so that it
doesn't need to run the final "show the output" step.
2024-01-02 15:03:06 -08:00
..
examples chore(rustfix): remove useless clippy rules 2023-12-18 20:17:05 +08:00
proptest-regressions Merge remote-tracking branch 'rustfix/master' into rustfix 2023-11-18 16:51:22 -08:00
src cargo fix: Call rustc fewer times. 2024-01-02 15:03:06 -08:00
tests Handle Windows newlines. 2023-12-31 16:20:41 -08:00
Cargo.toml chore(deps): update compatible 2024-01-02 10:21:24 +00:00
CHANGELOG.md chore(rustfix): rename Changelog.md to CHANGELOG.md 2023-12-18 20:05:52 +08:00
LICENSE-APACHE Switch rustfix license files to be symlinks 2023-11-18 18:31:08 -08:00
LICENSE-MIT Switch rustfix license files to be symlinks 2023-11-18 18:31:08 -08:00
README.md chore(rustfix): rename Readme.md to README.md 2023-12-18 20:04:50 +08:00

rustfix

Latest Version Rust Documentation

Rustfix is a library defining useful structures that represent fix suggestions from rustc.

This is a low-level library. You pass it the JSON output from rustc, and you can then use it to apply suggestions to in-memory strings. This library doesn't execute commands, or read or write from the filesystem.

If you are looking for the cargo fix implementation, the core of it is located in cargo::ops::fix.

License

Licensed under either of

at your option.

Contribution

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.