mirror of
https://github.com/ruvnet/RuView
synced 2026-07-20 17:03:24 +00:00
f49c722764
The Rust port lived two directories deep (rust-port/wifi-densepose-rs/) without any sibling under rust-port/ that warranted the extra level. Move the whole workspace up to v2/ to match v1/ (Python) at the same depth and shorten every cd / build command across the repo. git mv preserves history for all tracked files. 60 files updated for path references (CI workflows, ADRs, docs, scripts, READMEs, internal .claude-flow state). Two manual fixes for relative-cd paths in CLAUDE.md and ADR-043 that became wrong after the depth change (cd ../.. → cd ..). Validated: - cargo check --workspace --no-default-features → clean (after target/ nuke; the gitignored target/ was carried by the OS rename and had hard-coded old paths in build scripts) - cargo test --workspace --no-default-features → 1,539 passed, 0 failed, 8 ignored (same totals as pre-rename) - ESP32-S3 on COM7 → still streaming live CSI (cb #40300, RSSI -64 dBm) After-merge follow-up: contributors should `rm -rf v2/target` once and let cargo regenerate from the new path.
69 lines
1.8 KiB
TOML
69 lines
1.8 KiB
TOML
[package]
|
|
name = "wifi-densepose-wasm"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description = "WebAssembly bindings for WiFi-DensePose"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = ["rUv <ruv@ruv.net>", "WiFi-DensePose Contributors"]
|
|
repository = "https://github.com/ruvnet/wifi-densepose"
|
|
documentation = "https://docs.rs/wifi-densepose-wasm"
|
|
keywords = ["wifi", "wasm", "webassembly", "densepose", "browser"]
|
|
categories = ["wasm", "web-programming"]
|
|
readme = "README.md"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["console_error_panic_hook"]
|
|
mat = ["wifi-densepose-mat"]
|
|
|
|
[dependencies]
|
|
# WASM bindings
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
js-sys = "0.3"
|
|
web-sys = { version = "0.3", features = [
|
|
"console",
|
|
"Window",
|
|
"Document",
|
|
"Element",
|
|
"HtmlCanvasElement",
|
|
"CanvasRenderingContext2d",
|
|
"WebSocket",
|
|
"MessageEvent",
|
|
"ErrorEvent",
|
|
"CloseEvent",
|
|
"BinaryType",
|
|
"Performance",
|
|
] }
|
|
|
|
# Error handling and logging
|
|
console_error_panic_hook = { version = "0.1", optional = true }
|
|
wasm-logger = "0.2"
|
|
log = "0.4"
|
|
|
|
# Serialization for JS interop
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde-wasm-bindgen = "0.6"
|
|
|
|
# Async runtime for WASM
|
|
futures = "0.3"
|
|
|
|
# Time handling
|
|
chrono = { version = "0.4", features = ["serde", "wasmbind"] }
|
|
|
|
# UUID generation (with JS random support)
|
|
uuid = { version = "1.6", features = ["v4", "serde", "js"] }
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
# Optional: wifi-densepose-mat integration
|
|
wifi-densepose-mat = { version = "0.3.0", path = "../wifi-densepose-mat", optional = true, features = ["serde"] }
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = ["-O4", "--enable-mutable-globals"]
|