diff --git a/nokhwa-bindings-macos/Cargo.toml b/nokhwa-bindings-macos/Cargo.toml index dac6882..043534f 100644 --- a/nokhwa-bindings-macos/Cargo.toml +++ b/nokhwa-bindings-macos/Cargo.toml @@ -18,9 +18,9 @@ path = "../nokhwa-core" [target.'cfg(any(target_os="macos",target_os="ios"))'.dependencies] core-media-sys = "0.1" core-video-sys = "0.1" -cocoa-foundation = "0.1" -core-foundation = "0.9" +cocoa-foundation = "0.2" +core-foundation = "0.10" objc = { version = "0.2", features = ["exception"] } block = "0.1" flume = "0.11" -once_cell = "1.16" +once_cell = "1" diff --git a/src/js_camera.rs b/src/js_camera.rs index 5e15c7b..89d892e 100644 --- a/src/js_camera.rs +++ b/src/js_camera.rs @@ -2602,7 +2602,7 @@ impl JSCamera { dimension: TextureDimension::D2, format: TextureFormat::Rgba8UnormSrgb, usage: TextureUsages::TEXTURE_BINDING | TextureUsages::COPY_DST, - view_formats: &[TextureFormat::Rgba8UnormSrgb] + view_formats: &[TextureFormat::Rgba8UnormSrgb], }); queue.write_texture(