Files
ruvnet--RuView/v2/crates/wifi-densepose-desktop/src/lib.rs
T
rUv f49c722764 chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427)
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.
2026-04-25 21:28:13 -04:00

53 lines
1.6 KiB
Rust

pub mod commands;
pub mod domain;
pub mod state;
use commands::{discovery, flash, ota, provision, server, settings, wasm};
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_dialog::init())
.manage(state::AppState::default())
.invoke_handler(tauri::generate_handler![
// Discovery
discovery::discover_nodes,
discovery::list_serial_ports,
discovery::configure_esp32_wifi,
// Flash
flash::flash_firmware,
flash::flash_progress,
flash::verify_firmware,
flash::check_espflash,
flash::supported_chips,
// OTA
ota::ota_update,
ota::batch_ota_update,
ota::check_ota_endpoint,
// WASM
wasm::wasm_list,
wasm::wasm_upload,
wasm::wasm_control,
wasm::wasm_info,
wasm::wasm_stats,
wasm::check_wasm_support,
// Server
server::start_server,
server::stop_server,
server::server_status,
server::restart_server,
server::server_logs,
// Provision
provision::provision_node,
provision::read_nvs,
provision::erase_nvs,
provision::validate_config,
provision::generate_mesh_configs,
// Settings
settings::get_settings,
settings::save_settings,
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}