22 releases

new 0.9.0 Jan 9, 2025
0.8.7 Nov 28, 2024
0.8.6 Oct 17, 2024
0.8.4 Jun 17, 2024
0.1.0 May 15, 2017

#113 in Programming languages

Download history 36289/week @ 2024-09-22 34419/week @ 2024-09-29 36548/week @ 2024-10-06 41143/week @ 2024-10-13 38197/week @ 2024-10-20 36932/week @ 2024-10-27 37176/week @ 2024-11-03 33952/week @ 2024-11-10 33588/week @ 2024-11-17 33823/week @ 2024-11-24 38466/week @ 2024-12-01 35851/week @ 2024-12-08 36539/week @ 2024-12-15 27650/week @ 2024-12-22 29160/week @ 2024-12-29 36075/week @ 2025-01-05

132,690 downloads per month
Used in 215 crates (10 directly)

MIT/Apache

32KB
525 lines

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.

This crate is maintained by the Cargo team, primarily for use by Cargo and Rust compiler test suite and not intended for external use (except as a transitive dependency). This crate may make major changes to its APIs or be deprecated without warning.

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.

Dependencies

~1–2MB
~40K SLoC