Use the version from Cargo

This commit is contained in:
Nils Andreas Svee committed 2022-09-29 00:24:46 +02:00
1 parent 0cbde6d1ea
commit e4f7b301b5
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ use crate::ratecontroller::{Ratecontroller, StatsDirection};
use crate::reflector_selector::ReflectorSelector;
use crate::utils::Utils;
const VERSION: &str = "0.0.1";
const VERSION: &str = env!("CARGO_PKG_VERSION");
fn main() -> ExitCode {
println!("Starting sqm-autorate version {}", VERSION);