Disable default features in ash-window -> ash dependency (#524)

This commit is contained in:
Benjamin Saunders 2021-12-21 17:31:13 -08:00 committed by GitHub
parent 45301fffa4
commit 6e31d1f229
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ exclude = [".github/*"]
workspace = ".." workspace = ".."
[dependencies] [dependencies]
ash = { path = "../ash", version = "0.33" } ash = { path = "../ash", version = "0.33", default-features = false }
raw-window-handle = "0.3" raw-window-handle = "0.3"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
@ -22,3 +22,7 @@ raw-window-metal = "0.1"
[dev-dependencies] [dev-dependencies]
winit = "0.19.4" winit = "0.19.4"
[[example]]
name = "winit"
required-features = ["ash/linked"]