{"id":19413029,"url":"https://github.com/buildless/sample-sccache-rust","last_synced_at":"2026-06-10T01:31:32.976Z","repository":{"id":212726580,"uuid":"701933633","full_name":"buildless/sample-sccache-rust","owner":"buildless","description":"Buildless + Rust + sccache","archived":false,"fork":false,"pushed_at":"2024-04-05T16:24:08.000Z","size":65,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T15:42:39.919Z","etag":null,"topics":["build-cache","buildcache","buildless","remote-build-cache","rust","sccache"],"latest_commit_sha":null,"homepage":"https://docs.less.build/docs/sccache","language":"Rust","has_issues":false,"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/buildless.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-08T02:10:16.000Z","updated_at":"2023-12-15T20:57:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"5399e7a5-afd9-40c9-b0ce-7aff2d89ed5a","html_url":"https://github.com/buildless/sample-sccache-rust","commit_stats":null,"previous_names":["buildless/sample-sccache-rust"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-sccache-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-sccache-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-sccache-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsample-sccache-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildless","download_url":"https://codeload.github.com/buildless/sample-sccache-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593170,"owners_count":19825930,"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":["build-cache","buildcache","buildless","remote-build-cache","rust","sccache"],"created_at":"2024-11-10T12:30:08.897Z","updated_at":"2026-06-10T01:31:32.957Z","avatar_url":"https://github.com/buildless.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust + redis sample\n\n[Buildless][1], [Rust][2], [Redis][3] and [Sccache][4].\n\n\n## Details about this sample\n\nTogether, these tools provide a Rust development environment, enabled with blazing-fast remote build caching. Buildless handles build caching for the app.\n\n\n### Additional resources\n\n- [Buildless docs: Redis setup][4]\n\n\n## Trying the sample\n\n\u003e **Before you start:** Obtain an API key for [Buildless][1], set it at `BUILDLESS_APIKEY` in your environment\n\u003e Install [Sccache][4]\n\u003e Create an environment variable `RUSTC_WRAPPER` and set it to `sccache`\n\u003e Create an environment variable `SCCACHE_REDIS` and set it to `rediss://apikey:{YOUR_KEY}@redis.less.build:6379`\n\n1) Clone the sample\n2) Run a build with `cargo build`; observe that Rust uses Buildless\n\nThat's it! Enjoy lightning-fast builds on Rust 🔥\n\n\n### Building and running the app\n\n\u003e To build the Rust app:\n```\ncargo build --all\n```\n\n\u003e To run the Rust app:\n```\ncargo run\n```\n\n\n## Using the sample for your own codebase\n\nThis is a [GitHub Template repository][6]; you can easily use it to create your own repo. Follow these steps to customize it\nfor use with your Buildless account:\n\n1) Update `.github/CODEOWNERS`\n2) Add a [GitHub Secret][7] called `BUILDLESS_APIKEY`, set to the API key you want to use in CI\n3) That's it!\n\n\n### Sharing an API key across an organization\n\nYou can use [Organization Secrets][8] to automatically provide a `BUILDLESS_APIKEY` to all your repos.\n\n\n[1]: https://less.build/\n[2]: https://www.rust-lang.org/\n[3]: https://redis.io/\n[4]: https://github.com/mozilla/sccache\n[5]: https://docs.less.build/docs/redis\n[6]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template\n[7]: https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions\n[8]: https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-an-organization","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsample-sccache-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildless%2Fsample-sccache-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsample-sccache-rust/lists"}