worker-build

Crates.ioworker-build
lib.rsworker-build
version
sourcesrc
created_at2021-09-02 16:28:20.300929
updated_at2024-12-11 21:18:27.822825
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/tree/main/worker-build
max_upload_size
id446061
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Zeb Piasecki (zebp)

documentation

README

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"
Commit count: 734

cargo fmt