24 lines
493 B
TOML
24 lines
493 B
TOML
name = "hn-rss"
|
|
type = "javascript"
|
|
workers_dev = true
|
|
compatibility_date = "2022-01-20"
|
|
|
|
kv_namespaces = [
|
|
{ binding = "HN", id = "a30242f65ba34788ab1560f1a9c4eac7", preview_id = "9fd4871334174ceab34d2fd8c0e989cc" }
|
|
]
|
|
|
|
[vars]
|
|
WORKERS_RS_VERSION = "0.0.18"
|
|
|
|
[build]
|
|
command = "cargo install -q worker-build && worker-build --release" # required
|
|
|
|
[build.upload]
|
|
dir = "build/worker"
|
|
format = "modules"
|
|
main = "./shim.mjs"
|
|
|
|
[[build.upload.rules]]
|
|
globs = ["**/*.wasm"]
|
|
type = "CompiledWasm"
|