15 lines
338 B
Rust
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();
|
|
}
|