M15.1: web build (eframe wasm) + xtask web

- apps/effectcraft-web (L6): eframe web runner booting the shared EffectcraftApp with a browser
  session: in-memory file table, <input type=file> pickers and drag-and-drop for open/import,
  downloads for Save and Render Queue outputs (several files as one stored .zip), and the
  window.effectcraft promise API over the control channel. Demo project on start.
- wasm32 runtime fixes: web-time for Instant/SystemTime (render, engine, export, ui-egui);
  Frames renders queued jobs on the UI thread (Frames::pump) instead of a thread pool;
  Render Queue runs inline; relative outputs resolve under / ; control PNGs inline.
- effectcraft-export: per-job output Sink (files to memory instead of disk); host FileExporter
  carries it; test that sink exports touch no file.
- xtask web [--dev] [--serve PORT] (wasm-bindgen 0.2.129, optional wasm-opt, COOP/COEP server);
  effectcraft-web in WEB_CRATES. docs/web.md, headless Chrome smoke test, favicon (+attribution).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-02 00:19:35 -04:00
co-authored by Claude Opus 5.5
parent c925ac8ae8
commit 31f192e2a9
30 changed files with 1361 additions and 92 deletions
Generated
+24
View File
@@ -1126,6 +1126,7 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.21",
"web-time",
]
[[package]]
@@ -1147,6 +1148,7 @@ dependencies = [
"log",
"rayon",
"thiserror 2.0.21",
"web-time",
]
[[package]]
@@ -1266,6 +1268,7 @@ dependencies = [
"log",
"rayon",
"serde",
"web-time",
]
[[package]]
@@ -1312,6 +1315,27 @@ dependencies = [
"rayon",
"serde",
"serde_json",
"web-time",
]
[[package]]
name = "effectcraft-web"
version = "0.1.0"
dependencies = [
"effectcraft-engine",
"effectcraft-export",
"effectcraft-expr",
"effectcraft-host",
"effectcraft-media",
"effectcraft-ui-egui",
"eframe",
"egui",
"js-sys",
"log",
"serde_json",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
[[package]]