bump versions fix wgpu errors

This commit is contained in:
l1npengtul
2025-07-07 02:54:43 +09:00
parent e43d5894fa
commit dc8beced7f
5 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ version = "23"
optional = true
[dependencies.opencv]
version = "0.94"
version = "0.95"
default-features = false
optional = true
+1 -1
View File
@@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
image = "0.24.5"
image = "0.25"
[dependencies.nokhwa-core]
path = "../../nokhwa-core"
+2 -4
View File
@@ -14,17 +14,15 @@ keywords = ["media-foundation", "windows", "capture", "webcam"]
docs-only = []
[dependencies]
once_cell = "1"
[dependencies.nokhwa-core]
version = "0.1"
path = "../nokhwa-core"
[target.'cfg(target_os="windows")'.dependencies.windows]
version = "0.43"
version = "0.61"
features = ["Win32_Media_MediaFoundation", "Win32_System_Com", "Win32_Foundation", "Win32_Media_DirectShow", "Win32_Media", "Win32", "Win32_Media_KernelStreaming"]
[target.'cfg(target_os="windows")'.dependencies.once_cell]
version = "1.16"
[package.metadata.docs.rs]
features = ["docs-only"]
+1 -1
View File
@@ -175,7 +175,7 @@ pub mod wmf {
pub fn initialize_mf() -> Result<(), NokhwaError> {
if !(INITIALIZED.load(Ordering::SeqCst)) {
if let Err(why) = unsafe {
CoInitializeEx(None, CO_INIT_APARTMENT_THREADED | CO_INIT_DISABLE_OLE1DDE)
CoInitializeEx(None, CO_INIT_APARTMENT_THREADED | CO_INIT_DISABLE_OLE1DDE).ok()
} {
return Err(NokhwaError::InitializeError {
backend: ApiBackend::MediaFoundation,
+1 -1
View File
@@ -37,7 +37,7 @@ version = "23"
optional = true
[dependencies.opencv]
version = "0.94"
version = "0.95"
optional = true
[dependencies.bytemuck]