From 6b1c315163132c3f95337fe8ee97616cb17fc8c9 Mon Sep 17 00:00:00 2001 From: Chad Brokaw Date: Wed, 19 Oct 2022 15:54:43 -0400 Subject: [PATCH] update c-api deps --- Cargo.lock | 18 ++---------------- pgpu-render/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4df1e8c..acc4ca4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -598,20 +598,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "metal" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c12e48c737ee9a55e8bb2352bcde588f79ae308d3529ee888f7cc0f469b5777" -dependencies = [ - "bitflags", - "block", - "cocoa-foundation", - "foreign-types", - "log", - "objc", -] - [[package]] name = "metal" version = "0.24.0" @@ -873,7 +859,7 @@ version = "0.1.0" dependencies = [ "cbindgen", "cocoa", - "metal 0.22.0", + "metal", "objc", "piet-gpu", "piet-gpu-hal", @@ -922,7 +908,7 @@ dependencies = [ "cocoa-foundation", "core-graphics-types", "foreign-types", - "metal 0.24.0", + "metal", "objc", "raw-window-handle 0.5.0", "smallvec", diff --git a/pgpu-render/Cargo.toml b/pgpu-render/Cargo.toml index 7f24432..8b2140a 100644 --- a/pgpu-render/Cargo.toml +++ b/pgpu-render/Cargo.toml @@ -14,9 +14,9 @@ piet-gpu-hal = { path = "../piet-gpu-hal" } piet-scene = { path = "../piet-scene" } [target.'cfg(all(not(target_arch = "wasm32"), any(target_os = "ios", target_os = "macos")))'.dependencies] -metal = "0.22" +metal = "0.24" +objc = "0.2.7" cocoa = "0.24.0" -objc = "0.2.5" [build-dependencies] cbindgen = "0.20.0"