From 1ea311931e7772fb3d15acc1f13d9cd31add81ba Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Fri, 22 Apr 2022 12:53:51 -0400 Subject: [PATCH] add PKG_VERSION to build info --- src/consts.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/consts.rs b/src/consts.rs index f7ae7f6..492e53e 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -8,10 +8,11 @@ shadow!(build); // Constant string that has a string containing information about the build. pub const BUILD_INFO: &str = formatc!( - "Commit: {} ({})\nBuild Date: {}\nRust Channel: {}\nRust Version: {}", + "Commit: {} ({})\nBuild Date: {}\nPackage Version: {}\nRust Channel: {}\nRust Version: {}", &build::SHORT_COMMIT, &build::BRANCH, &build::BUILD_TIME, + &build::PKG_VERSION, &build::RUST_CHANNEL, &build::RUST_VERSION, );