78 lines · 1.9 KB · TOML
RawDownload
[package]name = "gpui_web"version = "0.1.0"publish.workspace = trueedition.workspace = truelicense = "Apache-2.0"autoexamples = false [lints]workspace = true [features]default = ["multithreaded"]multithreaded = ["dep:wasm_thread"] [lib]path = "src/gpui_web.rs" [target.'cfg(target_family = "wasm")'.dependencies]gpui.workspace = trueparking_lot = { workspace = true, features = ["nightly"] }gpui_wgpu.workspace = truehttp_client.workspace = trueanyhow.workspace = truefutures.workspace = truelog.workspace = trueuuid.workspace = truewasm-bindgen.workspace = truewasm-bindgen-futures.workspace = trueweb-time.workspace = trueconsole_error_panic_hook.workspace = truejs-sys.workspace = trueraw-window-handle.workspace = true# Forked because upstream is unmaintained and its worker bootstrap still calls# the wasm-bindgen init function with the positional arguments deprecated in 0.2.93.wasm_thread = { git = "https://github.com/zed-industries/wasm_thread", rev = "0cf96c7708dfb97ccf3da50347e25edcf75d6937", version = "0.3", features = [    "es_modules",], optional = true }web-sys = { version = "0.3", features = [    "console",    "Clipboard",    "ClipboardEvent",    "CompositionEvent",    "CssStyleDeclaration",    "DataTransfer",    "Document",    "DomRect",    "DragEvent",    "Element",    "EventTarget",    "HtmlCanvasElement",    "HtmlElement",    "HtmlInputElement",    "IdleDeadline",    "IdleRequestOptions",    "KeyboardEvent",    "MediaQueryList",    "MediaQueryListEvent",    "MouseEvent",    "Navigator",    "PointerEvent",    "ResizeObserver",    "ResizeObserverBoxOptions",    "ResizeObserverEntry",    "ResizeObserverSize",    "ResizeObserverOptions",    "Screen",    "Storage",    "VisualViewport",    "Headers",    "Request",    "RequestCredentials",    "RequestInit",    "RequestRedirect",    "Response",    "WheelEvent",    "Window",] }