mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-15 10:15:06 +00:00
build config: add constant for full cargo crate version
and a todo comment to document some cleanup potential Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a55c6efbf7
commit
23a9d70d57
@ -1,5 +1,11 @@
|
|||||||
//! Exports configuration data from the build system
|
//! Exports configuration data from the build system
|
||||||
|
|
||||||
|
pub const PROXMOX_BACKUP_CRATE_VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|
||||||
|
// TODO: clean-up, drop the RELEASE one, should not be required on its own and if it would be just
|
||||||
|
// the X.Y part, also add the Debian package revision (extracted through build.rs) in an existing
|
||||||
|
// or new constant.
|
||||||
|
|
||||||
pub const PROXMOX_PKG_VERSION: &str = concat!(
|
pub const PROXMOX_PKG_VERSION: &str = concat!(
|
||||||
env!("CARGO_PKG_VERSION_MAJOR"),
|
env!("CARGO_PKG_VERSION_MAJOR"),
|
||||||
".",
|
".",
|
||||||
|
Loading…
Reference in New Issue
Block a user