16 unstable releases (7 breaking)
0.8.1 | Mar 21, 2024 |
---|---|
0.6.1 | May 23, 2022 |
0.6.0 | Jun 9, 2021 |
0.5.1 | Apr 2, 2020 |
0.1.0 | May 15, 2017 |
#266 in Development tools
157,698 downloads per month
Used in 204 crates
(8 directly)
28KB
482 lines
rustfix
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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–1.9MB
~39K SLoC