[package]
name = "fret-platform-web"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
description = "Web platform integration for Fret on wasm32 targets."

[lib]
crate-type = ["rlib"]

[dependencies]

[target.'cfg(target_arch = "wasm32")'.dependencies]
fret-core = { version = "0.1.0", path = "../fret-core" }
fret-runtime = { version = "0.1.0", path = "../fret-runtime" }
js-sys = "0.3"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["Blob", "Clipboard", "CompositionEvent", "CssStyleDeclaration", "Document", "Event", "EventTarget", "File", "FileList", "FocusEvent", "HtmlElement", "HtmlInputElement", "HtmlTextAreaElement", "InputEvent", "KeyboardEvent", "Navigator", "Node", "Window", "console"] }
