{"id":13437564,"url":"https://github.com/rust-lang/rustfix","last_synced_at":"2025-10-04T01:30:52.780Z","repository":{"id":9627174,"uuid":"62793556","full_name":"rust-lang/rustfix","owner":"rust-lang","description":"Automatically apply the suggestions made by rustc","archived":true,"fork":false,"pushed_at":"2023-11-22T03:39:37.000Z","size":389,"stargazers_count":857,"open_issues_count":0,"forks_count":63,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-05-20T22:48:05.595Z","etag":null,"topics":["cargo","cli","hacktoberfest","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-lang.png","metadata":{"files":{"readme":"Readme.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-07T09:24:03.000Z","updated_at":"2024-06-18T16:47:01.650Z","dependencies_parsed_at":"2023-11-19T01:29:15.599Z","dependency_job_id":"5fd25707-0960-4252-9fbb-56c8732422cf","html_url":"https://github.com/rust-lang/rustfix","commit_stats":null,"previous_names":["rust-lang-nursery/rustfix"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frustfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frustfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frustfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frustfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/rustfix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235112245,"owners_count":18937665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo","cli","hacktoberfest","rust"],"created_at":"2024-07-31T03:00:58.354Z","updated_at":"2025-10-04T01:30:52.456Z","avatar_url":"https://github.com/rust-lang.png","language":"Rust","readme":"# ⚠️ Rustfix has moved\n\nThe rustfix crate has moved to \u003chttps://github.com/rust-lang/cargo/tree/master/crates/rustfix\u003e.\nAny issues about the `rustfix` library or `cargo fix` should be filed at \u003chttps://github.com/rust-lang/cargo/issues\u003e.\nAny issues about the suggestions generated by the compiler should be filed at \u003chttps://github.com/rust-lang/rust/issues\u003e.\n\n----\n\n# rustfix\n\n[![Latest Version](https://img.shields.io/crates/v/rustfix.svg)](https://crates.io/crates/rustfix)\n[![Rust Documentation](https://docs.rs/rustfix/badge.svg)](https://docs.rs/rustfix)\n\nRustfix is a library defining useful structures that represent fix suggestions from rustc.\n\n## Current status\n\nCurrently, rustfix is split into two crates:\n\n- `rustfix`, a library for consuming and applying suggestions in the format that `rustc` outputs (this crate)\n- `cargo-fix`, a binary that works as cargo subcommand and that end users will use to fix their code (maintained in the [cargo](https://github.com/rust-lang/cargo/blob/master/src/bin/cargo/commands/fix.rs) repo).\n\n\nThe library (and therefore this repo) is considered largely feature-complete. This is because:\n* There is no compiler or even rust-specific logic here\n* New lints and suggestions come from the Rust compiler (and external lints, like [clippy]).\n* `rustfix` doesn't touch the filesystem to implement fixes, or read from disk\n\n[clippy]: https://github.com/rust-lang-nursery/rust-clippy\n\n## Installation\n\n`cargo fix` is a built-in command in Cargo since Rust 1.29. There is no need to install it separately from crates.io.\n\nTo use the rustfix library for use in your own fix project, add it to your `Cargo.toml`.\n\n## Using `cargo fix --edition` to transition to Rust 2021\n\nInstructions on how to use this tool to transition a crate to Rust 2021 can be\nfound [in the Rust Edition Guide.](https://rust-lang-nursery.github.io/edition-guide/editions/transitioning-an-existing-project-to-a-new-edition.html)\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","funding_links":[],"categories":["Development tools","Rust","开发工具 Development tools","开发工具","Programming Languages"],"sub_categories":["Web Servers","Web服务器 Web Servers","Web 服务器"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Frustfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Frustfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Frustfix/lists"}