diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 10:48:03 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 10:48:03 +0100 |
| commit | 2ac8e530b8fb9ca4fa073e1e25a4230a83d99c5d (patch) | |
| tree | 573b6745d9c7d8d3cb884c955009f6deaadedd87 /Cargo.toml | |
| parent | 236fcded5e7302c4b99f4626b4e8cbc35896ceee (diff) | |
web: W1 scaffold — Yew app with image display, pan and zoom
First milestone of wasm-plan.md:
- new crate gipfel-web: Yew 0.21 (csr), canvas 2D viewport
- file input + drag-and-drop; browser-native decode via createImageBitmap
(faster than image-crate decode in wasm, GPU-backed blitting)
- pan (pointer drag with capture, touch-ready) and cursor-anchored
wheel zoom, DPR-aware canvas sizing, fit-to-window
- dark sidebar shell: open/fit buttons, status line
- Trunk.toml + www/ (index.html, style.css); README with dev setup
Verified: cargo check clean (native and wasm32-unknown-unknown),
release wasm builds (5.3 MB pre-wasm-opt), all 38 native tests pass.
Runtime behavior to be confirmed with trunk serve on a desktop browser.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ [workspace] resolver = "2" -members = ["crates/gipfel-core", "crates/gipfel-cli", "crates/gipfel-app", "crates/gipfel-wasm"] +members = ["crates/gipfel-core", "crates/gipfel-cli", "crates/gipfel-app", "crates/gipfel-wasm", "crates/gipfel-web"] # Single source of truth for metadata inherited by every crate via # `version.workspace = true` etc. Bump `version` here on release; the |
