#cloudflare-workers #worker #build #serverless #command

app worker-build

This is a tool to be used as a custom build command for a Cloudflare Workers workers-rs project

12 releases

new 0.1.1 Nov 19, 2024
0.1.0 Apr 28, 2024
0.0.10 Jul 25, 2023
0.0.9 Feb 21, 2023
0.0.3 Nov 5, 2021

#39 in WebAssembly

Download history 1244/week @ 2024-07-30 1243/week @ 2024-08-06 1004/week @ 2024-08-13 750/week @ 2024-08-20 1278/week @ 2024-08-27 946/week @ 2024-09-03 1264/week @ 2024-09-10 1415/week @ 2024-09-17 1390/week @ 2024-09-24 983/week @ 2024-10-01 872/week @ 2024-10-08 978/week @ 2024-10-15 1008/week @ 2024-10-22 940/week @ 2024-10-29 756/week @ 2024-11-05 793/week @ 2024-11-12

3,667 downloads per month

Apache-2.0

36KB
612 lines

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 -q worker-build && worker-build --release"

[build.upload]
dir    = "build/worker"
format = "modules"
main   = "./shim.mjs"

[[build.upload.rules]]
globs = ["**/*.wasm"]
type  = "CompiledWasm"

Dependencies

~20–34MB
~533K SLoC