Switch to shadow-rs

Closes #58
This commit is contained in:
Nadja Reitzenstein
2022-05-18 17:01:03 +02:00
parent c435f76d08
commit 25df5bf5b2
6 changed files with 122 additions and 90 deletions

View File

@ -1,8 +0,0 @@
//! 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");

View File

@ -31,7 +31,8 @@ pub mod capnp;
pub mod utils;
pub mod env;
// Store build information in the `env` module.
shadow_rs::shadow!(env);
mod audit;
mod keylog;