hoc/src/statics.rs
Valentin Brandl 914ee4b637
All checks were successful
continuous-integration/drone/push Build is passing
Update to vergen 8
2023-04-13 11:55:52 +02:00

14 lines
315 B
Rust

pub struct VersionInfo<'a> {
pub commit: &'a str,
pub version: &'a str,
}
pub(crate) const VERSION_INFO: VersionInfo = VersionInfo {
commit: env!("VERGEN_GIT_SHA"),
version: env!("CARGO_PKG_VERSION"),
};
lazy_static! {
pub(crate) static ref CLIENT: reqwest::Client = reqwest::Client::new();
}