hoc/src/statics.rs

14 lines
315 B
Rust
Raw Permalink Normal View History

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
}