mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-14 00:41:00 +00:00
The BIFF8 reader moved to storytold/craft-libs as craft-xls (#878). GridCraft keeps the mapping onto its model in xls.rs: formulas parsed, Excel's implicit @ for legacy formulas, pixel widths and heights, styles interned per XF, sheet-name checks, print areas and titles, calculation settings and GridCraft's warning text. The workbook now opens on the sheet it was saved on when that sheet is visible, else on the first visible sheet (from #3551 by @Morzilla, whose test is kept). RString cells are read as text. Every craft-libs crate moves to one revision, 119415f4.
34 lines
1.5 KiB
TOML
34 lines
1.5 KiB
TOML
[package]
|
|
name = "gridcraft-web"
|
|
description = "GridCraft 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 = "gridcraft-web"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
gridcraft-engine = { workspace = true }
|
|
gridcraft-ui-egui = { workspace = true }
|
|
# The host messages (storytold/craft-libs): one contract and one bridge for the web builds.
|
|
# The page command API (storytold/craft-libs#413): window.gridcraft over the control channel.
|
|
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "119415f46f601e20b9bc6b1b4d6979ceda86d88e", version = "0.1.0" }
|
|
craft-web-host = { git = "https://github.com/storytold/craft-libs", rev = "119415f46f601e20b9bc6b1b4d6979ceda86d88e", version = "0.1.0" }
|
|
egui = { workspace = true }
|
|
log = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] }
|
|
rfd = { workspace = true }
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
js-sys = "0.3"
|
|
web-sys = { version = "0.3", features = ["Window", "Document", "Element", "Event", "EventTarget", "HtmlElement", "HtmlCanvasElement", "HtmlAnchorElement", "HtmlIFrameElement", "Blob", "BlobPropertyBag", "Url", "Location", "CssStyleDeclaration", "Clipboard", "ClipboardItem", "Navigator", "MessageEvent", "UrlSearchParams", "AddEventListenerOptions", "Storage", "CustomEvent", "CustomEventInit"] }
|