Dane Sabo fb50885e7f M2 part 2: WASM build target for road_parceling_studio
Refactored Studio + impl App into lib.rs (was main.rs). Added a
#[wasm_bindgen] start_in_canvas entry plus index.html/Trunk.toml so
the same code runs in a browser tab via:

  rustup target add wasm32-unknown-unknown
  cargo install trunk
  cd road_parceling_studio && trunk serve

Native still builds with `cargo run -p road_parceling_studio`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 13:51:06 -04:00

7 lines
73 B
TOML

[build]
target = "index.html"
[serve]
address = "127.0.0.1"
port = 8080