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

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

#72 in Network programming

Download history 1135/week @ 2024-01-25 1196/week @ 2024-02-01 962/week @ 2024-02-08 683/week @ 2024-02-15 900/week @ 2024-02-22 967/week @ 2024-02-29 1194/week @ 2024-03-07 1147/week @ 2024-03-14 879/week @ 2024-03-21 935/week @ 2024-03-28 912/week @ 2024-04-04 972/week @ 2024-04-11 807/week @ 2024-04-18 1342/week @ 2024-04-25 1210/week @ 2024-05-02 734/week @ 2024-05-09

4,214 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
~307K SLoC