From 90b65b7b0ddaa386bc0430fcfb8ad68399123349 Mon Sep 17 00:00:00 2001 From: gdyr Date: Fri, 21 Jun 2024 00:30:42 +1000 Subject: [PATCH 1/2] Windows dependencies apply to all Windows targets Fixes MSVC support + future proofs --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 46b077f..13c7c66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ version = "3.1.18" features = ["cargo", "derive"] optional = true -[target.x86_64-pc-windows-gnu.dependencies] +[target.'cfg(windows)'.dependencies] winreg = "0.10.1" windows-service = "0.4.0" From 323e42e3139622310b95c093e1c610f943c11917 Mon Sep 17 00:00:00 2001 From: gdyr Date: Fri, 21 Jun 2024 00:36:48 +1000 Subject: [PATCH 2/2] Bump patch version with dependency adjustment Changed dependencies to support all Windows-based targets --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 13c7c66..02c778e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "in-container" -version = "1.1.0" +version = "1.1.1" edition = "2018" authors = ["Pit Kleyersburg "] license = "MIT/Apache-2.0"