Files

24 lines
620 B
TOML

[package]
name = "craft-web-api"
description = "The page command API for Craft web builds: one window.<app> shape over the app's JSON control channel."
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository.workspace = true
[dependencies]
serde_json = { workspace = true }
# Already in every web build's Cargo.lock through eframe.
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
[lints]
workspace = true