mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 05:53:08 -05:00
Every craft-libs rev moves from 4f3e34d0dd, the head of craft-libs#5489, to craft-libs main. The egui and winit revs are the ones that craft-libs rev pins, unchanged. - Opacity fields (Control bar, Color Wheel, Gradient) show the stored fraction times 100 again. craft-libs#5466 makes the number field step on from a value such as 50.999999 %, so panels::shown_percent is removed. - The Blend Options Ramp and Shift sliders, the Image Trace rows and the Divider field use SliderField::edit_target (craft-libs#5024) in place of the id-salt workarounds. A value typed for one object and not yet committed is still dropped when another is selected. - CDR import: craft-libs now reads bitmaps as their own object kind. They are not placed; the warnings name them with the other objects not read, and a PowerClip frame that clips only a bitmap is named as a frame that opened empty.
38 lines
1.8 KiB
TOML
38 lines
1.8 KiB
TOML
[package]
|
|
name = "vectorcraft-web"
|
|
description = "VectorCraft 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 = "vectorcraft-web"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
vectorcraft-engine = { workspace = true, features = ["bundled-fonts", "heif"] }
|
|
vectorcraft-ui-egui = { workspace = true }
|
|
vectorcraft-format = { workspace = true }
|
|
vectorcraft-text = { workspace = true }
|
|
craft = { workspace = true, features = ["ui", "keymap", "automation", "platform"] }
|
|
egui = { workspace = true }
|
|
log = { workspace = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
# Image loaders for `src/web.rs`, which builds only for wasm32.
|
|
egui_extras = { workspace = true }
|
|
# `wgpu` pulls egui-wgpu's defaults: WebGPU plus the WebGL2 fallback.
|
|
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] }
|
|
# The page command API (storytold/craft-libs#413): the request plumbing behind window.vectorcraft.
|
|
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc", version = "0.1.0" }
|
|
|
|
wasm-bindgen = "0.2"
|
|
serde_json = { workspace = true }
|
|
wasm-bindgen-futures = "0.4"
|
|
js-sys = "0.3"
|
|
web-sys = { version = "0.3", features = ["Window", "Document", "Element", "HtmlElement", "HtmlCanvasElement", "HtmlInputElement", "KeyboardEvent", "HtmlIFrameElement", "HtmlAnchorElement", "Blob", "BlobPropertyBag", "ClipboardEvent", "DataTransfer", "File", "FileList", "Url", "Location", "CssStyleDeclaration", "Event", "EventTarget", "MouseEvent", "PointerEvent", "TouchEvent", "AddEventListenerOptions", "DomRect", "DragEvent", "Storage", "Navigator", "RequestInit", "Response", "AbortController", "AbortSignal", "Node", "Worker", "MessageEvent", "ErrorEvent", "Performance"] }
|