mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 18:29:45 +02:00
Add semver constant, rename "build id" env var
This commit is contained in:
parent
85be0d075a
commit
bce4858b9e
2 changed files with 6 additions and 2 deletions
|
@ -10,5 +10,8 @@ pub const SHA_SHORT: &str = env!("VERGEN_SHA_SHORT");
|
|||
/// Date of the latest git commit.
|
||||
pub const COMMIT_DATE: &str = env!("VERGEN_COMMIT_DATE");
|
||||
|
||||
/// Librespot crate version.
|
||||
pub const SEMVER: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
/// A random build id.
|
||||
pub const BUILD_ID: &str = env!("VERGEN_BUILD_ID");
|
||||
pub const BUILD_ID: &str = env!("LIBRESPOT_BUILD_ID");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue