diff --git a/vnt/src/lib.rs b/vnt/src/lib.rs index 569ac61..55c426b 100644 --- a/vnt/src/lib.rs +++ b/vnt/src/lib.rs @@ -1,5 +1,5 @@ use crate::error::Error; -pub const VNT_VERSION: &'static str = "1.2.8"; +pub const VNT_VERSION: &'static str = env!("CARGO_PKG_VERSION"); pub type Result = std::result::Result; pub mod channel;