From 5fb6ae501cd802cddb64032bc4bd1324179798a4 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Thu, 16 Nov 2023 18:45:10 -0500 Subject: [PATCH] Add version info to build --- Cargo.toml | 2 +- src/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a98b4c1..7dffbc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libfj" -version = "0.7.3" +version = "0.7.4" authors = ["NGnius (Graham) "] edition = "2018" description = "An unofficial collection of APIs used in FreeJam games and mods" diff --git a/src/lib.rs b/src/lib.rs index add98af..629aaae 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,3 +15,5 @@ pub mod techblox; pub mod convert; #[cfg(feature = "robocraft2")] pub mod robocraft2; + +pub const VERSION: &str = env!("CARGO_PKG_VERSION");