feat(agent): setup Cargo.toml et structure complète
Initialise la structure de l'agent Rust avec tous les modules stub : config, payload, metrics (cpu/memory/disk/network/uptime/temperature/smart), transport (udp/mqtt). Corrige les features sysinfo 0.30 (pas de feature disk/networks séparées). Compile sans erreurs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
395e006014
commit
3f5c735507
@@ -0,0 +1,9 @@
|
||||
use nanometrics_agent::config;
|
||||
|
||||
fn main() {
|
||||
let cfg_path = std::env::args()
|
||||
.nth(1)
|
||||
.unwrap_or_else(|| "config.toml".to_string());
|
||||
let _cfg = config::load(std::path::Path::new(&cfg_path));
|
||||
println!("nanometrics-agent starting");
|
||||
}
|
||||
Reference in New Issue
Block a user