From 6fde600e7e9b7fa26340206ed011c9a10ca8a547 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Sat, 16 Sep 2023 21:42:17 +0200 Subject: [PATCH] change patch to metal-rs, add exception to cargo deny --- .deny.toml | 1 + Cargo.lock | 2 +- Cargo.toml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.deny.toml b/.deny.toml index 5c214bbc28..f7c233c5d4 100644 --- a/.deny.toml +++ b/.deny.toml @@ -27,6 +27,7 @@ allow = [ [sources] allow-git = [ "https://github.com/grovesNL/glow", + "https://github.com/gfx-rs/metal-rs", ] unknown-registry = "deny" unknown-git = "deny" diff --git a/Cargo.lock b/Cargo.lock index 5d6529444e..07ed8c2c66 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1551,7 +1551,7 @@ dependencies = [ [[package]] name = "metal" version = "0.26.0" -source = "git+https://github.com/Wumpf/metal-rs?branch=more-timer-support#f24a59ece22321f152b0d9a97c36a18463e9d54f" +source = "git+https://github.com/gfx-rs/metal-rs/?rev=d24f1a4#d24f1a4ae92470bf87a0c65ecfe78c9299835505" dependencies = [ "bitflags 2.4.0", "block", diff --git a/Cargo.toml b/Cargo.toml index 51b4a206b2..22f79b73b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -158,7 +158,8 @@ termcolor = "1.2.0" #glow = { path = "../glow" } #d3d12 = { path = "../d3d12-rs" } #metal = { path = "../metal-rs" } -metal = { git = "https://github.com/Wumpf/metal-rs", branch = "more-timer-support" } +#metal = { path = "../metal-rs" } +metal = { git = "https://github.com/gfx-rs/metal-rs/", rev = "d24f1a4" } # More timer support via https://github.com/gfx-rs/metal-rs/pull/280 #web-sys = { path = "../wasm-bindgen/crates/web-sys" } #js-sys = { path = "../wasm-bindgen/crates/js-sys" } #wasm-bindgen = { path = "../wasm-bindgen" }