mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
- pdf-shell-w5: written from its sheet - pdf-shell-w5: repair 1 - pdf-shell-w5: finished by an agent
40 lines
1.0 KiB
TOML
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
|