Add application version to footer in base template and define VERSION constant

This commit is contained in:
Greg Burri 2025-04-08 18:11:23 +02:00
parent 1938571b4c
commit 24aa046f8c
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
use std::time::Duration;
/// Current version of the application.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
/// The name of the configuration file.
/// it's located in the current directory.
pub const FILE_CONF: &str = "conf.ron";