#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

11 releases

0.1.0 Apr 28, 2024
0.0.10 Jul 25, 2023
0.0.9 Feb 21, 2023
0.0.8 Nov 14, 2022
0.0.3 Nov 5, 2021

#26 in WebAssembly

Download history 1625/week @ 2024-06-24 1090/week @ 2024-07-01 787/week @ 2024-07-08 1001/week @ 2024-07-15 1353/week @ 2024-07-22 1242/week @ 2024-07-29 1163/week @ 2024-08-05 1162/week @ 2024-08-12 667/week @ 2024-08-19 1306/week @ 2024-08-26 959/week @ 2024-09-02 1069/week @ 2024-09-09 1506/week @ 2024-09-16 1329/week @ 2024-09-23 1185/week @ 2024-09-30 819/week @ 2024-10-07

4,902 downloads per month

Apache-2.0

29KB
595 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–19MB
~283K SLoC