From 79066b2fc8a25349a4e852998db421dce5498460 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Mar 2025 02:15:44 +0000 Subject: [PATCH 1/2] Update windows requirement from 0.60 to 0.61 Updates the requirements on [windows](https://github.com/microsoft/windows-rs) to permit the latest version. - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) --- updated-dependencies: - dependency-name: windows dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7a57071f..9b9bf736 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ once_cell = "1" rgb = { version = "0.8.20", features = ["argb"], optional = true } [target.'cfg(target_os = "windows")'.dependencies] -windows = { version = "0.60", features = ["Win32_Graphics_Direct3D9", "Win32_Graphics_Direct3D10", "Win32_Graphics_Direct3D11"] } +windows = { version = "0.61", features = ["Win32_Graphics_Direct3D9", "Win32_Graphics_Direct3D10", "Win32_Graphics_Direct3D11"] } [build-dependencies] opencv-binding-generator = { version = "0.95.0", path = "binding-generator" } From 793319a4b1d037e68aa1c9980ad1770d999b431b Mon Sep 17 00:00:00 2001 From: Pro Date: Wed, 19 Mar 2025 19:07:34 +0100 Subject: [PATCH 2/2] Lock down `half` dependency --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9b9bf736..ae57398f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,8 @@ maintenance = { status = "actively-developed" } members = ["binding-generator"] [dependencies] -half = { version = "2", optional = true } +# todo: MSRV, allow version to go 2.5.0 and above when MSRV is 1.81.0 +half = { version = "2, <2.5.0", optional = true } libc = "0.2" num-traits = "0.2" once_cell = "1"