mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 22:34:43 +00:00
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:
parent
07736487d6
commit
252329cbf3
686
Cargo.lock
generated
686
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -13,4 +13,4 @@ doc = false
|
||||
|
||||
[dependencies]
|
||||
vulkano = { workspace = true }
|
||||
winit = { workspace = true }
|
||||
winit = { workspace = true, default-features = true }
|
||||
|
@ -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 }
|
||||
|
@ -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" }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -13,4 +13,4 @@ doc = false
|
||||
|
||||
[dependencies]
|
||||
vulkano = { workspace = true }
|
||||
winit = { workspace = true }
|
||||
winit = { workspace = true, default-features = true }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user