librespot/core/src/version.rs

15 lines
508 B
Rust
Raw Normal View History

2021-02-09 18:42:56 +00:00
/// Version string of the form "librespot-<sha>"
pub const VERSION_STRING: &str = concat!("librespot-", env!("VERGEN_SHA_SHORT"));
2021-02-09 18:42:56 +00:00
/// Generate a timstamp string representing now (UTC).
pub const BUILD_DATE: &str = env!("VERGEN_BUILD_DATE");
2021-02-09 18:42:56 +00:00
/// Short sha of the latest git commit.
pub const SHA_SHORT: &str = env!("VERGEN_SHA_SHORT");
2021-02-09 18:42:56 +00:00
/// Date of the latest git commit.
pub const COMMIT_DATE: &str = env!("VERGEN_COMMIT_DATE");
2021-02-09 18:42:56 +00:00
/// A random build id.
pub const BUILD_ID: &str = env!("VERGEN_BUILD_ID");