hoc/src/statics.rs

15 lines
338 B
Rust
Raw Normal View History

2023-06-13 10:22:37 +02:00
#[derive(Clone, Copy)]
2019-05-14 01:11:39 +02:00
pub struct VersionInfo<'a> {
pub commit: &'a str,
pub version: &'a str,
}
pub(crate) const VERSION_INFO: VersionInfo = VersionInfo {
2023-04-13 11:55:52 +02:00
commit: env!("VERGEN_GIT_SHA"),
version: env!("CARGO_PKG_VERSION"),
2019-05-14 01:11:39 +02:00
};
lazy_static! {
pub(crate) static ref CLIENT: reqwest::Client = reqwest::Client::new();
2019-05-14 01:11:39 +02:00
}