clippy clean up multiple files

This commit is contained in:
2025-08-11 23:27:18 -07:00
parent 7cd6a6e0a1
commit 1e248306a6
8 changed files with 42 additions and 30 deletions
+3 -3
View File
@@ -1,16 +1,16 @@
//! socktop agent entrypoint: sets up sysinfo handles, launches a sampler,
//! and serves a WebSocket endpoint at /ws.
mod gpu;
mod metrics;
mod sampler;
mod state;
mod types;
mod ws;
mod gpu;
use axum::{routing::get, Router};
use std::{ net::SocketAddr, sync::atomic::AtomicUsize, sync::Arc, time::Duration,
};
use std::{net::SocketAddr, sync::atomic::AtomicUsize, sync::Arc, time::Duration};
use sysinfo::{
Components, CpuRefreshKind, Disks, MemoryRefreshKind, Networks, ProcessRefreshKind,
RefreshKind, System,