hoc/src/statics.rs
2023-06-13 10:22:37 +02:00

15 lines
338 B
Rust

#[derive(Clone, Copy)]
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();
}