mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-01 10:47:56 +01:00
- Cargo.toml, deckcraft-web and ui-egui Cargo.toml: the port's craft-libs and egui pins and the craft facade; production's craft-host/keymap/theme/window and craft-web-api/web-host lines dropped. - desktop main.rs: the port's runtime install and hooks; production's macOS refusal fix (refusal_dialog and its test) kept. - web.rs, app.rs, app/input.rs, app/keys.rs, canvas.rs, canvas/context_menu.rs, eyedropper.rs, lib.rs, menus.rs, opening.rs, settings.rs, show/ui.rs, sorter.rs, status.rs: the port's code; production's framework.rs and document_focus modules are no longer declared (the framework canvas, window intents and QAT claims cover them). - model chart.rs: production's comment for the ? placeholders. - show/frames.rs: an audio icon with Hide During Show stays hidden while it plays (#1659), through MediaClip::hidden_during_show. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
1.0 KiB
TOML
32 lines
1.0 KiB
TOML
[package]
|
|
name = "deckcraft-web"
|
|
description = "DeckCraft in the browser (eframe web runner, WebGPU with WebGL2 fallback)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "deckcraft-web"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
craft = { workspace = true, features = ["ui", "automation", "window", "settings", "font-catalog"] }
|
|
deckcraft-engine = { workspace = true }
|
|
deckcraft-ui-egui = { workspace = true }
|
|
egui = { workspace = true }
|
|
log = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
craft = { workspace = true, features = ["web-api", "web-host", "platform-browser"] }
|
|
# `wgpu` pulls egui-wgpu's defaults: WebGPU plus the WebGL2 fallback.
|
|
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] }
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
js-sys = "0.3"
|
|
web-sys = { version = "0.3", features = ["Window", "Document", "Element", "HtmlCanvasElement", "Location", "UrlSearchParams"] }
|