#cloudflare #worker #serverless #webassembly #build #workers

app worker-build

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

9 releases

0.0.9 Feb 21, 2023
0.0.8 Nov 14, 2022
0.0.7 Aug 31, 2022
0.0.6 Jun 20, 2022
0.0.2 Sep 16, 2021

#26 in WebAssembly

Download history 400/week @ 2022-12-08 536/week @ 2022-12-15 185/week @ 2022-12-22 456/week @ 2022-12-29 620/week @ 2023-01-05 373/week @ 2023-01-12 520/week @ 2023-01-19 500/week @ 2023-01-26 493/week @ 2023-02-02 288/week @ 2023-02-09 499/week @ 2023-02-16 511/week @ 2023-02-23 662/week @ 2023-03-02 712/week @ 2023-03-09 815/week @ 2023-03-16 767/week @ 2023-03-23

3,008 downloads per month

Apache-2.0

15KB
269 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

~8–14MB
~339K SLoC