Files
craft-libs/crates/web-host/Cargo.toml
T
Dylan M. Taylor c25efe0b90 pdf-shell-w5: net change of 3 commits
- pdf-shell-w5: written from its sheet
- pdf-shell-w5: repair 1
- pdf-shell-w5: finished by an agent
2026-11-18 03:15:53 -05:00

40 lines
1.0 KiB
TOML

[package]
name = "craft-web-host"
description = "The host messages between a Craft app's web build and the page that hosts it: one contract and one bridge for every app."
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository.workspace = true
# Already in every web build's Cargo.lock through eframe.
[target.'cfg(target_arch = "wasm32")'.dependencies]
craft-host = { workspace = true }
craft-platform = { workspace = true, features = ["browser"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = [
"Blob",
"CustomEvent",
"CustomEventInit",
"Document",
"Element",
"Event",
"EventTarget",
"File",
"FileList",
"HtmlElement",
"HtmlInputElement",
"Location",
"MessageEvent",
"Node",
"Window",
] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
web-sys = { version = "0.3", features = ["MessageEventInit"] }
[lints]
workspace = true