wifi-densepose/v2
ruv 6fe405a5f7 fix(wasm-edge): gate ghost_hunter bin behind standalone-bin feature
The standalone ghost_hunter binary defines its own on_init/on_frame/on_timer
WASM3 entry-points; the lib also exports those when default-pipeline is on.
A vanilla `cargo build -p wifi-densepose-wasm-edge --target wasm32-unknown-unknown
--release` would build both, producing a "Linking globals named 'on_frame':
symbol multiply defined!" error.

Fix: declare an explicit `[[bin]] required-features = ["standalone-bin"]`
gate so the bin only builds when the user opts in with
`--no-default-features --features standalone-bin`. The default feature
set continues to produce the combined-pipeline lib (15 KB wasm32).

Validation:
- cargo build -p wifi-densepose-wasm-edge --target wasm32-unknown-unknown
  --release  → 15 KB wifi_densepose_wasm_edge.wasm (default-pipeline lib)
- cargo build -p wifi-densepose-wasm-edge --bin ghost_hunter
  --target wasm32-unknown-unknown --release
  --no-default-features --features standalone-bin
  → 5.8 KB ghost_hunter.wasm (standalone module)
- cd v2/crates/wifi-densepose-wasm-edge && cargo test --features std
  --no-default-features  → 75/75 tests pass

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-04-27 11:22:35 -04:00
..
.claude-flow chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
crates fix(wasm-edge): gate ghost_hunter bin behind standalone-bin feature 2026-04-27 11:22:35 -04:00
data chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
docs chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
examples chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
patches/ruvector-crv chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
Cargo.lock feat(nvsim): digitiser + pipeline end-to-end [nvsim:pass5] 2026-04-26 16:56:28 -04:00
Cargo.toml feat(nvsim): server + onboarding + PWA + GH Pages workflow [ADR-092] 2026-04-26 20:09:27 -04:00