From f9e8696d72a556fed33c95e214411b5c9cf64c39 Mon Sep 17 00:00:00 2001 From: Valerie Date: Tue, 9 Jul 2024 14:08:13 -0400 Subject: [PATCH] fixed version display not using cargo version --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ed5bc0a..8fb110a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,7 @@ mod global; mod helper; mod util; -pub const VERSION: &str = "0.2.0"; +pub const VERSION: &str = env!("CARGO_PKG_VERSION"); fn main() { // build eval context