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>
7 lines
73 B
TOML
7 lines
73 B
TOML
[build]
|
|
target = "index.html"
|
|
|
|
[serve]
|
|
address = "127.0.0.1"
|
|
port = 8080
|