Dane Sabo 334e6c84ed M2 part 1: road_parceling_studio interactive harness (native)
Sibling crate using egui/eframe. Click empty space to drop a node and
start a road from it; click a second node to close the road. Drag a
node to live-apply MoveNode (with snap-back on rejection). Side panel
exposes every SubdivisionParams knob, view toggles, and timing stats.

- Workspace Cargo.toml at repo root.
- RoadGraph::nodes() iterator added (needed to hit-test isolated
  just-placed nodes that have no incident road yet).
- WASM target list is configured in Cargo.toml but native is the only
  shipped frontend in this commit — WASM bundling lands next.

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

26 lines
707 B
TOML

[package]
name = "road_parceling_studio"
version = "0.1.0"
edition = "2021"
authors = ["Dane Sabo"]
description = "Interactive test harness for road_parceling — place roads, drag nodes, watch parcels regenerate."
license = "MIT OR Apache-2.0"
[dependencies]
road_parceling = { path = "../road_parceling" }
glam = "0.29"
eframe = { version = "0.28", default-features = false, features = ["default_fonts", "glow", "wayland", "x11"] }
egui = "0.28"
log = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.11"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
web-sys = "0.3"
console_error_panic_hook = "0.1"
[lints.rust]
unsafe_code = "forbid"