0.0.2 |
|
---|---|
0.0.1 |
|
#44 in #cloudflare-workers
8KB
155 lines
rust-worker-build
This is a tool to be used as a custom build command for a Cloudflare Workers project.
# wrangler.toml
# ...
[build]
command = "cargo install rust-worker-build && rust-worker-build --release"
[build.upload]
dir = "build/worker"
format = "modules"
main = "./shim.mjs"
[[build.upload.rules]]
globs = ["**/*.wasm"]
type = "CompiledWasm"]
Dependencies
~130KB