diff --git a/Cargo.toml b/Cargo.toml index 7a57071f..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" @@ -30,7 +31,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" }