{"id":25612360,"url":"https://github.com/bevy-rust-gpu/rust-gpu-builder","last_synced_at":"2025-10-06T19:41:36.572Z","repository":{"id":100367725,"uuid":"607470824","full_name":"Bevy-Rust-GPU/rust-gpu-builder","owner":"Bevy-Rust-GPU","description":"Utility application for building rust-gpu shader crates.","archived":false,"fork":false,"pushed_at":"2024-05-25T01:33:46.000Z","size":1401,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-22T22:40:02.238Z","etag":null,"topics":["rust","rust-gpu"],"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/Bevy-Rust-GPU.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-28T03:02:05.000Z","updated_at":"2024-08-16T03:58:46.000Z","dependencies_parsed_at":"2023-12-15T19:52:09.453Z","dependency_job_id":"0baa957e-72f8-4b61-97e6-d7f5aac589b9","html_url":"https://github.com/Bevy-Rust-GPU/rust-gpu-builder","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bevy-Rust-GPU%2Frust-gpu-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bevy-Rust-GPU%2Frust-gpu-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bevy-Rust-GPU%2Frust-gpu-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bevy-Rust-GPU%2Frust-gpu-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bevy-Rust-GPU","download_url":"https://codeload.github.com/Bevy-Rust-GPU/rust-gpu-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248755099,"owners_count":21156543,"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":["rust","rust-gpu"],"created_at":"2025-02-22T00:19:38.665Z","updated_at":"2025-10-06T19:41:36.522Z","avatar_url":"https://github.com/Bevy-Rust-GPU.png","language":"Rust","readme":"\u003cdiv align=\"center\"\u003e\n\n# `rust-gpu-builder`\n\n[![Documentation](https://img.shields.io/badge/docs-API-blue)](https://bevy-rust-gpu.github.io/rust-gpu-builder/)\n\n`rust-gpu` helper program for automating shader crate compilation.\n\nCan compile once, or run in daemon mode and recompile in response to filesystem changes.\n\n\u003c/div\u003e\n\n## Usage\n\n`rust-gpu-builder` relies on the [`spirv-builder`](https://embarkstudios.github.io/rust-gpu/api/spirv_builder/) crate, which in turn relies on the cargo ecosystem\nto configure the appropriate nightly toolchain for `rust-gpu`. As such, it needs to be run from inside a workspace via `cargo run`.\n\nThus, it's recommended to add `rust-gpu-builder` as a a git submodule of your cargo workspace, and set it up as the default binary target.\n\n### One-shot compilation\n\n`cargo run --release -- \u003cpath-to-shader-crate\u003e` will compile the provided shader crate and output `\u003ccrate-name\u003e.spv` and `\u003ccrate-name\u003e.spv.json` to `target/spirv-unknown-spv1.5/release/deps/`.\n\n### Hot-recompile\n\n`cargo run --release -- \u003cpath-to-shader-crate\u003e -w \u003cpath-to-watch\u003e` will compile as per the above, then watch the provided path and recompile whenever it changes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevy-rust-gpu%2Frust-gpu-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbevy-rust-gpu%2Frust-gpu-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevy-rust-gpu%2Frust-gpu-builder/lists"}