Git internal version from crate version

This commit is contained in:
Luke D Jones
2020-09-23 22:12:47 +12:00
parent 05c53df0ed
commit 2daa7f0811
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ use config::Config;
use crate::error::RogError;
use zbus::ObjectServer;
pub static VERSION: &str = "2.0.3";
pub static VERSION: &str = env!("CARGO_PKG_VERSION");
pub trait Reloadable {
fn reload(&mut self) -> Result<(), RogError>;