| Crates.io | worker-build |
| lib.rs | worker-build |
| version | 0.1.10 |
| created_at | 2021-09-02 16:28:20.300929+00 |
| updated_at | 2025-09-24 03:29:36.348183+00 |
| description | This is a tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project. |
| homepage | |
| repository | https://github.com/cloudflare/workers-rs/tree/main/worker-build |
| max_upload_size | |
| id | 446061 |
| size | 193,187 |
This is a tool to be used as a custom build command for a Cloudflare Workers project.
# wrangler.toml
# ...
[build]
command = "cargo install -q worker-build && worker-build --release"
[build.upload]
dir = "build/worker"
format = "modules"
main = "./shim.mjs"
[[build.upload.rules]]
globs = ["**/*.wasm"]
type = "CompiledWasm"