Crates.io | rustfix |
lib.rs | rustfix |
version | 0.8.7 |
source | src |
created_at | 2017-05-15 12:25:09.155043 |
updated_at | 2024-11-28 14:02:34.189358 |
description | Automatically apply the suggestions made by rustc |
homepage | https://github.com/rust-lang/cargo |
repository | https://github.com/rust-lang/cargo |
max_upload_size | |
id | 14689 |
size | 59,733 |
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.
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.