{"id":51468470,"url":"https://github.com/shuymn/rust-template","last_synced_at":"2026-07-06T14:01:20.112Z","repository":{"id":366379470,"uuid":"1186928118","full_name":"shuymn/rust-template","owner":"shuymn","description":"Minimal Rust project template with nightly toolchain, Taskfile, Clippy pedantic lints, Lefthook hooks, and GitHub Actions CI","archived":false,"fork":false,"pushed_at":"2026-06-21T14:08:39.000Z","size":31,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-21T16:08:45.447Z","etag":null,"topics":["clippy","github-actions","lefthook","nightly","rust","taskfile","template"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/shuymn.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-20T06:24:35.000Z","updated_at":"2026-06-10T05:55:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shuymn/rust-template","commit_stats":null,"previous_names":["shuymn/rust-template"],"tags_count":null,"template":true,"template_full_name":null,"purl":"pkg:github/shuymn/rust-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuymn%2Frust-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuymn%2Frust-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuymn%2Frust-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuymn%2Frust-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuymn","download_url":"https://codeload.github.com/shuymn/rust-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuymn%2Frust-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35193679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"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":["clippy","github-actions","lefthook","nightly","rust","taskfile","template"],"created_at":"2026-07-06T14:01:19.234Z","updated_at":"2026-07-06T14:01:20.106Z","avatar_url":"https://github.com/shuymn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-template\n\n\u003c!-- template:start --\u003e\nMinimal Rust template with:\n\n- [Taskfile.yml](Taskfile.yml) as the primary entrypoint for local tasks, CI, and hooks\n- **Nightly** toolchain with opinionated [rustfmt.toml](rustfmt.toml), [clippy.toml](clippy.toml), and `Cargo.toml` `[lints]`; `clippy::pedantic` / `nursery` / `cargo` enabled at the crate root\n- [lefthook.yml](lefthook.yml) for `pre-commit` and `pre-push` automation\n- GitHub Actions running the same `task` commands as local development\n- Starter docs for repository rules and review conventions\n\nTemplate source: `https://github.com/shuymn/rust-template` (`shuymn/rust-template`).\n\u003c!-- template:end --\u003e\n\nThis repository was initialized from a Rust project template.\n\nReplace this README with project-specific documentation once the repository has a clear purpose, setup flow, and release process.\n\n## Local Setup\n\nInstall [Rust](https://www.rust-lang.org/tools/install) (rustup). This repo pins **nightly** in `rust-toolchain.toml` (run `rustup show` in the repo root after clone — rustup should install it automatically). Optional: [Task](https://taskfile.dev/installation/) and [Lefthook](https://github.com/evilmartians/lefthook).\n\nPrimary entrypoint:\n\n```bash\ntask\ntask build\ntask test\ntask lint\ntask fmt\ntask check\n```\n\nAfter installing Lefthook, enable hooks:\n\n```bash\nlefthook install\n```\n\nRust-native equivalents (same nightly toolchain as `rust-toolchain.toml`):\n\n```bash\ncargo build\ncargo test\ncargo fmt --all -- --check   # uses nightly rustfmt + rustfmt.toml\ncargo clippy --workspace --all-targets --all-features --locked -- -D warnings\n```\n\n## Initial Customization\n\nBefore treating this as a real project, update the repository-specific parts:\n\n1. Run template initialization from the repository root. This rewrites template placeholders, removes the template-only README section, deletes `.taskfiles/`, and creates a local commit.\n\n```bash\ntask -t .taskfiles/template.yml init\n```\n\n2. Replace [`src/main.rs`](src/main.rs) and any starter code with your actual application.\n3. Rewrite this README with your project's purpose, setup, development workflow, and release information.\n4. Review [`AGENTS.md`](AGENTS.md) and [`docs/`](docs/) and keep only the rules and guidance you want in this repository.\n5. Run `task check` before your first project-specific commit (requires Lefthook on PATH for the `install:lefthook` dependency, or run `task fmt:check`, `task lint`, `task test`, `task doc`, and `task build` individually).\n\n## Suggested README Sections\n\nWhen you rewrite this file, include only the sections your project actually needs, for example:\n\n- Project overview\n- Requirements\n- Setup\n- Local development commands\n- Testing\n- Deployment or release process\n- Repository layout\n- Links to deeper docs if needed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuymn%2Frust-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuymn%2Frust-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuymn%2Frust-template/lists"}