rust-worker-build

Crates.iorust-worker-build
lib.rsrust-worker-build
version0.0.2
sourcesrc
created_at2021-09-01 17:30:39.847914
updated_at2021-09-01 17:41:58.279581
descriptionThis is a tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project.
homepage
repositoryhttps://github.com/cloudflare/workers-rs/rust-worker-build
max_upload_size
id445662
size17,760
Steve Manuel (nilslice)

documentation

README

rust-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 rust-worker-build && rust-worker-build --release"

[build.upload]
dir    = "build/worker"
format = "modules"
main   = "./shim.mjs"

[[build.upload.rules]]
globs = ["**/*.wasm"]
type  = "CompiledWasm"]
Commit count: 716

cargo fmt