update c-api deps

This commit is contained in:
Chad Brokaw 2022-10-19 15:54:43 -04:00
parent fe6ed00447
commit 6b1c315163
2 changed files with 4 additions and 18 deletions

18
Cargo.lock generated
View file

@ -598,20 +598,6 @@ dependencies = [
"autocfg", "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]] [[package]]
name = "metal" name = "metal"
version = "0.24.0" version = "0.24.0"
@ -873,7 +859,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"cbindgen", "cbindgen",
"cocoa", "cocoa",
"metal 0.22.0", "metal",
"objc", "objc",
"piet-gpu", "piet-gpu",
"piet-gpu-hal", "piet-gpu-hal",
@ -922,7 +908,7 @@ dependencies = [
"cocoa-foundation", "cocoa-foundation",
"core-graphics-types", "core-graphics-types",
"foreign-types", "foreign-types",
"metal 0.24.0", "metal",
"objc", "objc",
"raw-window-handle 0.5.0", "raw-window-handle 0.5.0",
"smallvec", "smallvec",

View file

@ -14,9 +14,9 @@ piet-gpu-hal = { path = "../piet-gpu-hal" }
piet-scene = { path = "../piet-scene" } piet-scene = { path = "../piet-scene" }
[target.'cfg(all(not(target_arch = "wasm32"), any(target_os = "ios", target_os = "macos")))'.dependencies] [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" cocoa = "0.24.0"
objc = "0.2.5"
[build-dependencies] [build-dependencies]
cbindgen = "0.20.0" cbindgen = "0.20.0"