Cargo.toml

 1[package]
 2name = "gpui_web"
 3version = "0.1.0"
 4publish.workspace = true
 5edition.workspace = true
 6license = "Apache-2.0"
 7autoexamples = false
 8
 9[lints]
10workspace = true
11
12[lib]
13path = "src/gpui_web.rs"
14
15[target.'cfg(target_family = "wasm")'.dependencies]
16gpui.workspace = true
17parking_lot = { workspace = true, features = ["nightly"] }
18gpui_wgpu.workspace = true
19anyhow.workspace = true
20futures.workspace = true
21log.workspace = true
22smallvec.workspace = true
23uuid.workspace = true
24wasm-bindgen.workspace = true
25wasm-bindgen-futures = "0.4"
26web-time.workspace = true
27console_error_panic_hook = "0.1.7"
28js-sys = "0.3"
29raw-window-handle = "0.6"
30wasm_thread = { version = "0.3", features = ["es_modules"] }
31web-sys = { version = "0.3", features = [
32    "console",
33    "CssStyleDeclaration",
34    "DataTransfer",
35    "Document",
36    "DomRect",
37    "DragEvent",
38    "Element",
39    "EventTarget",
40    "File",
41    "FileList",
42    "HtmlCanvasElement",
43    "HtmlElement",
44    "HtmlInputElement",
45    "KeyboardEvent",
46    "MediaQueryList",
47    "MediaQueryListEvent",
48    "MouseEvent",
49    "Navigator",
50    "PointerEvent",
51    "ResizeObserver",
52    "ResizeObserverBoxOptions",
53    "ResizeObserverEntry",
54    "ResizeObserverSize",
55    "ResizeObserverOptions",
56    "Screen",
57    "Storage",
58    "VisualViewport",
59    "WheelEvent",
60    "Window",
61] }