From c105d2842cbb2a219e3cb5f1250834ae1a065507 Mon Sep 17 00:00:00 2001 From: Jonathan Plotner Date: Sun, 26 Jan 2020 03:29:52 -0500 Subject: [PATCH] fix build errors for examples on osx (#260) --- examples/Cargo.toml | 8 ++++---- examples/src/lib.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 27c4cea..dfcf1e0 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -5,7 +5,7 @@ authors = ["maik klein "] edition = "2018" [dependencies] -winit = "0.16" +winit = "0.19.5" image = "0.10.4" ash = { path = "../ash" } @@ -13,6 +13,6 @@ ash = { path = "../ash" } winapi = { version = "0.3.4", features = ["windef", "winuser"] } [target.'cfg(target_os = "macos")'.dependencies] -metal-rs = "0.6" -cocoa = "0.13" -objc = "0.2.2" +metal = "0.17.1" +cocoa = "0.20.0" +objc = "0.2.7" diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 2090cf5..ad9ab97 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -5,7 +5,7 @@ extern crate winapi; #[cfg(target_os = "macos")] extern crate cocoa; #[cfg(target_os = "macos")] -extern crate metal_rs as metal; +extern crate metal; #[cfg(target_os = "macos")] extern crate objc; extern crate winit;