rustfix

Crates.iorustfix
lib.rsrustfix
version0.8.7
sourcesrc
created_at2017-05-15 12:25:09.155043
updated_at2024-11-28 14:02:34.189358
descriptionAutomatically apply the suggestions made by rustc
homepagehttps://github.com/rust-lang/cargo
repositoryhttps://github.com/rust-lang/cargo
max_upload_size
id14689
size59,733
release-publishers (github:rust-lang:release-publishers)

documentation

https://docs.rs/rustfix

README

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.

Commit count: 19317

cargo fmt