From f6daddc4bc93e73384c4d6d6c9fc6f58598eba61 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Tue, 7 Mar 2023 22:39:33 +0200 Subject: [PATCH] 0.3.6 - removed `COMMIT_HASH` const --- Cargo.toml | 3 +-- anime-game-core | 2 +- build.rs | 7 ------- src/lib.rs | 1 - 4 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 build.rs diff --git a/Cargo.toml b/Cargo.toml index 40133b4..9a25d9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,10 @@ [package] name = "anime-launcher-sdk" -version = "0.3.5" +version = "0.3.6" authors = ["Nikita Podvirnyy "] license = "GPL-3.0" readme = "README.md" edition = "2021" -build = "build.rs" [dependencies] anime-game-core = { path = "anime-game-core", features = ["genshin", "all", "static"] } diff --git a/anime-game-core b/anime-game-core index 9b78785..e0245c4 160000 --- a/anime-game-core +++ b/anime-game-core @@ -1 +1 @@ -Subproject commit 9b787856c4ca297023b1eab0aca0188278cea7a4 +Subproject commit e0245c40871f585781fd504fb14fd657b26cb4af diff --git a/build.rs b/build.rs deleted file mode 100644 index b2b6c33..0000000 --- a/build.rs +++ /dev/null @@ -1,7 +0,0 @@ -use std::process::Command; - -fn main() { - let output = Command::new("git").args(&["rev-parse", "HEAD"]).output().unwrap(); - - println!("cargo:rustc-env=GIT_COMMIT_HASH={}", String::from_utf8(output.stdout).unwrap()); -} diff --git a/src/lib.rs b/src/lib.rs index cb22a51..8e24cde 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,6 @@ pub mod fps_unlocker; pub mod discord_rpc; pub const VERSION: &str = env!("CARGO_PKG_VERSION"); -pub const COMMIT_HASH: &str = env!("GIT_COMMIT_HASH"); /// Check if specified binary is available ///