diff --git a/Cargo.lock b/Cargo.lock index 5c3846d..e331453 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1584,7 +1584,7 @@ dependencies = [ [[package]] name = "yayd-backend" -version = "0.6.3" +version = "0.6.4" dependencies = [ "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "flate2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index cbd87b3..355f051 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yayd-backend" -version = "0.6.3" +version = "0.6.4" authors = ["Aron Heinecke "] [[bin]] diff --git a/src/main.rs b/src/main.rs index 0babca2..f22e9e9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,7 +33,7 @@ use lib::Error; use std::sync::Arc; use timer::Timer; -const VERSION: &'static str = "0.6.3"; +const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const CONFIG_PATH: &'static str = "config.cfg"; const C_USER_AGENT: &'static str = "hyper/yayd (github.com/0xpr03/yayd)"; const LOG_CONFIG: &'static str = "logger.yaml";