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