From 6e31d1f22928cd1a683c0342ea05a4313d05a702 Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Tue, 21 Dec 2021 17:31:13 -0800 Subject: [PATCH] Disable default features in ash-window -> ash dependency (#524) --- ash-window/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ash-window/Cargo.toml b/ash-window/Cargo.toml index d24cfd0..eea53ea 100644 --- a/ash-window/Cargo.toml +++ b/ash-window/Cargo.toml @@ -14,7 +14,7 @@ exclude = [".github/*"] workspace = ".." [dependencies] -ash = { path = "../ash", version = "0.33" } +ash = { path = "../ash", version = "0.33", default-features = false } raw-window-handle = "0.3" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] @@ -22,3 +22,7 @@ raw-window-metal = "0.1" [dev-dependencies] winit = "0.19.4" + +[[example]] +name = "winit" +required-features = ["ash/linked"]