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

@@ -6,7 +6,7 @@ use std::error::Error;
use std::time::Duration;
fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("Version 1.0.1");
println!("Version {}", env!("CARGO_PKG_VERSION"));
let mut cfg = Config::read_new()?;
let mut last_profile = String::new();