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"),
|
2023-04-14 00:50:35 +02:00
|
|
|
version: env!("CARGO_PKG_VERSION"),
|
2019-05-14 01:11:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
lazy_static! {
|
2020-02-12 19:45:18 +01:00
|
|
|
pub(crate) static ref CLIENT: reqwest::Client = reqwest::Client::new();
|
2019-05-14 01:11:39 +02:00
|
|
|
}
|