#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

13 releases

0.1.2 Dec 11, 2024
0.1.1 Nov 19, 2024
0.1.0 Apr 28, 2024
0.0.10 Jul 25, 2023
0.0.3 Nov 5, 2021

#108 in Network programming

Download history 1343/week @ 2024-09-18 1391/week @ 2024-09-25 897/week @ 2024-10-02 911/week @ 2024-10-09 1016/week @ 2024-10-16 959/week @ 2024-10-23 954/week @ 2024-10-30 736/week @ 2024-11-06 946/week @ 2024-11-13 1154/week @ 2024-11-20 955/week @ 2024-11-27 999/week @ 2024-12-04 1088/week @ 2024-12-11 769/week @ 2024-12-18 588/week @ 2024-12-25 469/week @ 2025-01-01

3,091 downloads per month

Apache-2.0

36KB
577 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

~21–34MB
~550K SLoC