{"id":17596131,"url":"https://github.com/fyko/rust-template","last_synced_at":"2025-03-29T19:43:24.847Z","repository":{"id":207991769,"uuid":"717866537","full_name":"Fyko/rust-template","owner":"Fyko","description":"my opinionated Rust template","archived":false,"fork":false,"pushed_at":"2023-11-18T23:04:54.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T20:34:21.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fyko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-12T20:49:33.000Z","updated_at":"2023-11-18T23:02:39.000Z","dependencies_parsed_at":"2023-11-18T23:38:39.906Z","dependency_job_id":null,"html_url":"https://github.com/Fyko/rust-template","commit_stats":null,"previous_names":["fyko/rust-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fyko%2Frust-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fyko%2Frust-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fyko%2Frust-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fyko%2Frust-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fyko","download_url":"https://codeload.github.com/Fyko/rust-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246237429,"owners_count":20745348,"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":[],"created_at":"2024-10-22T08:08:05.239Z","updated_at":"2025-03-29T19:43:24.826Z","avatar_url":"https://github.com/Fyko.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-template\n\n\u003e My opinionated Rust template\n\n## Getting Started\n\n1. Install Cargo Binstall\n\nhttps://github.com/cargo-bins/cargo-binstall#installation\n\n```console\n$ curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash\n# or if you dont like piping random crap into your shell\n$ cargo install cargo-binstall\n```\n\n2. Install Cargo Make\n\nhttps://github.com/sagiegurari/cargo-make\n\n```console\n$ cargo binstall -y cargo-make\n```\n\n3. Initialize the project\n\n```console\n$ makers setup\n```\n\n## Running and testing the project\n\n```console\n$ makers dev\n```\n\n```console\n$ makers test\n```\n\n## Linting and formatting\n\nEffectful formatting and linting was merged into one task:\n\n```console\n$ makers format\n```\n\nYou can run `makers lint` just to spit out errors and warnings.\n\n```console\n$ makers lint\n```\n\n## Deploying\n\n[Dockerfile](./Dockerfile) compiles the project to MUSL for a minimal image.\n\nYou can build it with:\n\n```console\n$ docker buildx build -f ./Dockerfile .\n```\n\nBut the easies way is with [Docker Compose](https://docs.docker.com/compose/).\n\n```console\n$ docker compose up --build\n```\n\nAdditionally, there's a [GitHub Action](./.github/workflows/deploy.yml) that builds and pushes the image to [GitHub Container Registry](https://ghcr.io) on every push to `main` after you uncomment the `on` trigger.\n\n## Integration\n\nThe testing [GitHub Action](./.github/workflows/test.yml) runs on every push to `main` and `pull_request` and formats, tests and builds the project in that order.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffyko%2Frust-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffyko%2Frust-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffyko%2Frust-template/lists"}