1
0
Fork 0
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:
johannesd3 2021-02-13 18:43:24 +01:00 committed by Johannes Dertmann
parent 85be0d075a
commit bce4858b9e
2 changed files with 6 additions and 2 deletions

View file

@ -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");