版本号使用环境变量

This commit is contained in:
lubeilin
2024-01-06 11:22:14 +08:00
parent d72fab04a2
commit 77a78daac1
+1 -1
View File
@@ -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<T> = std::result::Result<T, Error>;
pub mod channel;