summaryrefslogtreecommitdiff
path: root/crates/gipfel-web/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/gipfel-web/Cargo.toml')
-rw-r--r--crates/gipfel-web/Cargo.toml37
1 files changed, 37 insertions, 0 deletions
diff --git a/crates/gipfel-web/Cargo.toml b/crates/gipfel-web/Cargo.toml
new file mode 100644
index 0000000..b53fdaa
--- /dev/null
+++ b/crates/gipfel-web/Cargo.toml
@@ -0,0 +1,37 @@
+[package]
+name = "gipfel-web"
+version.workspace = true
+edition.workspace = true
+license.workspace = true
+description = "gipfel web — browser front end (WASM)"
+
+[dependencies]
+gipfel-core = { path = "../gipfel-core" }
+js-sys = "0.3"
+wasm-bindgen = "0.2"
+wasm-bindgen-futures = "0.4"
+yew = { version = "0.21", features = ["csr"] }
+
+[dependencies.web-sys]
+version = "0.3"
+features = [
+ "Blob",
+ "CanvasRenderingContext2d",
+ "DataTransfer",
+ "Document",
+ "DomRect",
+ "DragEvent",
+ "Element",
+ "Event",
+ "EventTarget",
+ "File",
+ "FileList",
+ "HtmlCanvasElement",
+ "HtmlElement",
+ "HtmlInputElement",
+ "ImageBitmap",
+ "MouseEvent",
+ "PointerEvent",
+ "Window",
+ "WheelEvent",
+]