Add application version to footer in base template and define VERSION constant
This commit is contained in:
parent
1938571b4c
commit
24aa046f8c
2 changed files with 4 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue