mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 06:47:56 +01:00
Start on improving a few version thingies
This commit is contained in:
parent
67ff33ba79
commit
d591daa884
8
bffhd/env.rs
Normal file
8
bffhd/env.rs
Normal file
@ -0,0 +1,8 @@
|
||||
//! Information extracted from the (build) environment
|
||||
//!
|
||||
|
||||
/// The BFFH version, as an UTF-8 string
|
||||
///
|
||||
/// This is of the format "<major>.<minor>.<patch>" if build as a normal release
|
||||
/// or "<major> .<minor>.<patch>-<commit hash>" if built from source
|
||||
pub const VERSION: &'static str = env!("BFFHD_VERSION_STRING");
|
@ -31,6 +31,8 @@ pub mod capnp;
|
||||
|
||||
pub mod utils;
|
||||
|
||||
pub mod env;
|
||||
|
||||
mod audit;
|
||||
mod keylog;
|
||||
mod logging;
|
||||
@ -60,9 +62,6 @@ use crate::users::Users;
|
||||
use executor::pool::Executor;
|
||||
use signal_hook::consts::signal::*;
|
||||
|
||||
pub const VERSION_STRING: &'static str = env!("BFFHD_VERSION_STRING");
|
||||
pub const RELEASE_STRING: &'static str = env!("BFFHD_RELEASE_STRING");
|
||||
|
||||
pub struct Diflouroborane {
|
||||
config: Config,
|
||||
executor: Executor<'static>,
|
||||
|
Loading…
Reference in New Issue
Block a user