vulkano-util: do not pull the default winit features (#2533)

This allows a downstream user to set which winit features to use, possibly
sparing a lot of dependencies from being pulled and compiled.

Co-authored-by: Rua <ruawhitepaw@gmail.com>
This commit is contained in:
grego 2024-06-30 15:23:19 +02:00 committed by GitHub
parent 07736487d6
commit 252329cbf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
29 changed files with 370 additions and 372 deletions

686
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -63,7 +63,7 @@ smallvec = "1.8"
syn = "2.0"
thread_local = "1.1"
vk-parse = "0.12"
winit = "0.29"
winit = { version = "0.29", default-features = false }
# Only used in examples
glam = "0.25"

View File

@ -16,4 +16,4 @@ glam = { workspace = true }
rand = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -13,4 +13,4 @@ doc = false
[dependencies]
vulkano = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,4 +15,4 @@ doc = false
glam = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,6 +15,6 @@ doc = false
glium = "0.32.1"
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }
# Glium has still not been updated to the latest winit version
winit_glium = { package = "winit", version = "0.27.1" }

View File

@ -15,4 +15,4 @@ doc = false
png = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,4 +15,4 @@ doc = false
png = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,4 +15,4 @@ doc = false
png = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -17,4 +17,4 @@ rand = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
vulkano-util = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -17,4 +17,4 @@ rand = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
vulkano-util = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,4 +15,4 @@ doc = false
png = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,4 +15,4 @@ doc = false
png = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,4 +15,4 @@ doc = false
png = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -13,4 +13,4 @@ doc = false
[dependencies]
vulkano = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -16,4 +16,4 @@ ron = { workspace = true }
serde = { workspace = true, features = ["derive"] }
vulkano = { workspace = true, features = ["serde", "macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,4 +15,4 @@ doc = false
glam = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -15,4 +15,4 @@ doc = false
png = { workspace = true }
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -20,4 +20,4 @@ vulkano-shaders = { workspace = true }
vulkano-util = { workspace = true }
# The Vulkan library doesn't provide any functionality to create and handle windows, as
# this would be out of scope. In order to open a window, we are going to use the `winit` crate.
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -14,4 +14,4 @@ doc = false
[dependencies]
vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
winit = { workspace = true }
winit = { workspace = true, default-features = true }

View File

@ -18,4 +18,4 @@ vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true }
# The Vulkan library doesn't provide any functionality to create and handle windows, as
# this would be out of scope. In order to open a window, we are going to use the `winit` crate.
winit = { workspace = true }
winit = { workspace = true, default-features = true }