版本号使用环境变量
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user