From 374079ef712ce867121cb0a14432820610046e6b Mon Sep 17 00:00:00 2001 From: Marco Cadetg Date: Thu, 28 Aug 2025 15:53:50 +0200 Subject: [PATCH] fix: update the rustnet versin based on Cargo.toml version --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 438f378..891dc87 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ mod ui; fn main() -> Result<()> { // Parse command line arguments let matches = Command::new("rustnet") - .version("0.1.0") + .version(env!("CARGO_PKG_VERSION")) .author("Network Monitor") .about("Cross-platform network monitoring tool") .arg(