Files
ruvnet--RuView/v2/crates/ruv-neural/ruv-neural-cli/src/commands/info.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

67 lines
3.0 KiB
Rust

//! Display system info and capabilities.
/// Run the info command.
pub fn run() {
let version = env!("CARGO_PKG_VERSION");
println!("=== rUv Neural — System Information ===");
println!();
println!(" Version: {version}");
println!(" Binary: ruv-neural");
println!();
println!(" Crate Versions:");
println!(" ruv-neural-core {version}");
println!(" ruv-neural-sensor {version}");
println!(" ruv-neural-signal {version}");
println!(" ruv-neural-graph {version}");
println!(" ruv-neural-mincut {version}");
println!(" ruv-neural-embed {version}");
println!(" ruv-neural-memory {version}");
println!(" ruv-neural-decoder {version}");
println!(" ruv-neural-viz {version}");
println!(" ruv-neural-cli {version}");
println!();
println!(" Features:");
println!(" Sensor simulation [available]");
println!(" Signal processing [available]");
println!(" Bandpass filtering [available] (Butterworth IIR, SOS form)");
println!(" Artifact rejection [available] (eye blink, muscle, cardiac)");
println!(" PLV connectivity [available] (phase locking value)");
println!(" Coherence metrics [available] (coherence, imaginary coherence)");
println!(" Stoer-Wagner mincut [available] (global minimum cut)");
println!(" Normalized cut [available] (Shi-Malik spectral bisection)");
println!(" Multi-way cut [available] (recursive normalized cut)");
println!(" Spectral embedding [available] (Laplacian eigenvector encoding)");
println!(" Topology embedding [available] (hand-crafted topological features)");
println!(" Node2Vec embedding [available] (random walk co-occurrence)");
println!(" Threshold decoder [available] (rule-based cognitive state)");
println!(" KNN decoder [available] (k-nearest neighbor classifier)");
println!(" Force-directed layout [available] (Fruchterman-Reingold)");
println!(" Anatomical layout [available] (MNI coordinate-based)");
println!();
println!(" Export Formats:");
println!(" D3.js JSON [available]");
println!(" Graphviz DOT [available]");
println!(" GEXF (Graph Exchange) [available]");
println!(" CSV edge list [available]");
println!(" RVF (RuVector File) [available]");
println!();
println!(" Pipeline:");
println!(" simulate -> filter -> PLV graph -> mincut -> embed -> decode");
println!();
println!(" Platform:");
println!(" OS: {}", std::env::consts::OS);
println!(" Arch: {}", std::env::consts::ARCH);
println!(" Family: {}", std::env::consts::FAMILY);
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn info_runs_without_panic() {
run();
}
}