print version str at program start

This commit is contained in:
2024-04-24 20:55:14 +02:00
parent 17c9b8694d
commit 60e4af435a
3 changed files with 6 additions and 3 deletions

View File

@ -43,6 +43,8 @@ pub enum GroupId {
pub const TEST_EVENT: EventU32TypedSev<SeverityInfo> =
EventU32TypedSev::<SeverityInfo>::new(GroupId::Tmtc as u16, 0);
pub const VERSION: Option<&str> = option_env!("CARGO_PKG_VERSION");
lazy_static! {
pub static ref HOME_PATH: PathBuf = {
let mut home_path = PathBuf::new();