Cotton code
18 lines · 554 B · TOMLRaw
[package]name = "cotton-rules-wasm"version = "0.1.0"edition.workspace = truelicense.workspace = truepublish.workspace = truedescription = "cotton-rules as WASM for the Worker: one JSON-in, JSON-out call. Built by `pnpm rules:wasm`."[lib]crate-type = ["cdylib", "rlib"][dependencies]cotton-rules = { path = "../cotton-rules" }# Pinned to the wasm-bindgen CLI `pnpm rules:wasm` runs: the two must match.wasm-bindgen = "=0.2.106"# The engine's driver is a JS function the plan calls per read.js-sys = "0.3"serde_json = { workspace = true }