{"id":31923310,"url":"https://github.com/fuellabs/cargo-toml-lint","last_synced_at":"2025-10-13T23:49:19.699Z","repository":{"id":36955743,"uuid":"459037288","full_name":"FuelLabs/cargo-toml-lint","owner":"FuelLabs","description":"A linter for Cargo.toml files","archived":false,"fork":false,"pushed_at":"2022-07-09T12:09:08.000Z","size":28,"stargazers_count":7,"open_issues_count":4,"forks_count":7,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-10-01T09:29:00.984Z","etag":null,"topics":[],"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/FuelLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-14T06:08:54.000Z","updated_at":"2025-01-08T23:20:59.000Z","dependencies_parsed_at":"2022-08-24T21:00:57.055Z","dependency_job_id":null,"html_url":"https://github.com/FuelLabs/cargo-toml-lint","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/FuelLabs/cargo-toml-lint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fcargo-toml-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fcargo-toml-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fcargo-toml-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fcargo-toml-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FuelLabs","download_url":"https://codeload.github.com/FuelLabs/cargo-toml-lint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fcargo-toml-lint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017229,"owners_count":26086016,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-13T23:49:14.521Z","updated_at":"2025-10-13T23:49:19.688Z","avatar_url":"https://github.com/FuelLabs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `cargo-toml-lint` - a linter for `Cargo.toml`\n\n[![build](https://github.com/FuelLabs/cargo-toml-lint/actions/workflows/ci.yml/badge.svg)](https://github.com/FuelLabs/cargo-toml-lint/actions/workflows/ci.yml)\n[![crates.io](https://img.shields.io/crates/v/cargo-toml-lint?label=latest)](https://crates.io/crates/cargo-toml-lint)\n[![discord](https://img.shields.io/badge/chat%20on-discord-orange?\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/xfpK4Pe)\n\nFeatures:\n\n* Verify toml syntax\n* Run `cargo verify-project`\n* Check that `[dependencies]` and `[dev-dependencies]` are sorted alphabetically\n* Check that `[[test]]` are sorted by test name\n* Check all members of top-level object arrays (like) `[[test]]` are placed contiguously\n* Checks that the file ends with exactly one new line\n* Checks that no line contains trailing whitespace\n\nThis is a best-effort linter. Currently custom parsing is really simplified, so it may:\n\n* Reject some valid files if they are written in some particularly obscure way\n* Accept some files that violate the given linting rules\n\nHowever, any such issues are considered bugs and a fix PR would be appreciated.\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any\nadditional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuellabs%2Fcargo-toml-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuellabs%2Fcargo-toml-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuellabs%2Fcargo-toml-lint/lists"}