{"id":21000753,"url":"https://github.com/phylum-dev/rust-style-guidelines","last_synced_at":"2026-03-19T18:23:52.563Z","repository":{"id":103403360,"uuid":"503473530","full_name":"phylum-dev/rust-style-guidelines","owner":"phylum-dev","description":"Rust code style guidelines","archived":false,"fork":false,"pushed_at":"2023-11-14T22:32:18.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-04T23:10:07.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phylum-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-14T18:19:32.000Z","updated_at":"2025-03-24T16:56:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9e87b0e-9bda-4f1d-aae5-2cecd9b495f3","html_url":"https://github.com/phylum-dev/rust-style-guidelines","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phylum-dev/rust-style-guidelines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylum-dev%2Frust-style-guidelines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylum-dev%2Frust-style-guidelines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylum-dev%2Frust-style-guidelines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylum-dev%2Frust-style-guidelines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phylum-dev","download_url":"https://codeload.github.com/phylum-dev/rust-style-guidelines/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylum-dev%2Frust-style-guidelines/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-19T08:12:11.859Z","updated_at":"2026-01-28T13:03:41.108Z","avatar_url":"https://github.com/phylum-dev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Style Guidelines\n\nThis project aims at providing a guideline for writing consistent Rust code, to\nreduce review friction and help new developers.\n\nThis is not a complete collection of all Rust style guidelines. If there are any\nstyle conflicts not clarified by this repository, please open an issue.\n\n## Other resources\n\nThere are numerous other resources which focus on de-facto standards in the Rust\ncommunity. Unless otherwise specified, these common guidelines should be applied\nto all Rust code.\n\nNotable examples:\n- \u003chttps://rust-lang.github.io/api-guidelines\u003e\n- \u003chttps://deterministic.space/elegant-apis-in-rust.html\u003e\n- \u003chttps://rust-unofficial.github.io/patterns\u003e\n\n## Table of Contents\n\n1. [Rustfmt](rustfmt.md)\n2. [Clippy](clippy.md)\n3. [Comments](comments.md)\n4. [Imports](imports.md)\n5. [Ordering](ordering.md)\n6. [Naming](naming.md)\n7. [Error Handling](error_handling.md)\n8. [Macros](macros.md)\n9. [Tests](tests.md)\n10. [Enums](enums.md)\n11. [Structs](structs.md)\n12. [Control Flow](control_flow.md)\n13. [Functions](functions.md)\n14. [Visibility](visibility.md)\n\n## Contributing\n\nIf you wish to contribute a new rule, please use the `SKELETON.md` as a\nstructural guideline.\n\n## License\n\nMIT - with complete text available in the [LICENSE][license] file.\n\n[license]: https://github.com/phylum-dev/rust-style-guidelines/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphylum-dev%2Frust-style-guidelines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphylum-dev%2Frust-style-guidelines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphylum-dev%2Frust-style-guidelines/lists"}