#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

10 releases

0.0.10 Jul 25, 2023
0.0.9 Feb 21, 2023
0.0.8 Nov 14, 2022
0.0.6 Jun 20, 2022
0.0.3 Nov 5, 2021

#78 in Network programming

Download history 1693/week @ 2023-11-20 1606/week @ 2023-11-27 2461/week @ 2023-12-04 1291/week @ 2023-12-11 922/week @ 2023-12-18 1145/week @ 2023-12-25 662/week @ 2024-01-01 341/week @ 2024-01-08 337/week @ 2024-01-15 782/week @ 2024-01-22 1209/week @ 2024-01-29 1131/week @ 2024-02-05 760/week @ 2024-02-12 862/week @ 2024-02-19 894/week @ 2024-02-26 1121/week @ 2024-03-04

3,730 downloads per month

Apache-2.0

16KB
326 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

~4–15MB
~207K SLoC