dep: unify on windows 0.52.0

This commit is contained in:
chyyran 2024-02-26 18:49:59 -05:00 committed by Ronny Chan
parent f61bed3a22
commit a849f5e745
8 changed files with 15 additions and 10 deletions

10
Cargo.lock generated
View file

@ -1482,7 +1482,7 @@ dependencies = [
"rayon",
"wgpu",
"wgpu-types",
"windows 0.48.0",
"windows 0.52.0",
]
[[package]]
@ -1506,7 +1506,7 @@ dependencies = [
"platform-dirs",
"serde",
"thiserror",
"windows 0.48.0",
"windows 0.52.0",
]
[[package]]
@ -1523,7 +1523,7 @@ dependencies = [
"rustc-hash",
"sptr",
"thiserror",
"windows 0.48.0",
"windows 0.52.0",
]
[[package]]
@ -1537,7 +1537,7 @@ dependencies = [
"num-traits",
"rustc-hash",
"wgpu-types",
"windows 0.48.0",
"windows 0.52.0",
]
[[package]]
@ -1621,6 +1621,7 @@ dependencies = [
"rayon",
"thiserror",
"windows 0.48.0",
"windows 0.52.0",
]
[[package]]
@ -1644,6 +1645,7 @@ dependencies = [
"thiserror",
"widestring",
"windows 0.48.0",
"windows 0.52.0",
]
[[package]]

View file

@ -17,6 +17,9 @@ members = [
"librashader-build-script"]
resolver = "2"
[workspace.dependencies]
windows = "0.52.0"
[workspace.metadata.release]
[profile.optimized]

View file

@ -23,7 +23,7 @@ persy = "1.4.7"
bytemuck = "1.13.0"
[target.'cfg(windows)'.dependencies.windows]
version = "0.48.0"
workspace = true
features = [
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D_Fxc",

View file

@ -45,7 +45,7 @@ default-features = false
features = ["reflect", "presets", "preprocess"]
[target.'cfg(windows)'.dependencies.windows]
version = "0.48.0"
workspace = true
optional = true
[target.'cfg(target_vendor="apple")'.dependencies]

View file

@ -31,7 +31,7 @@ halfbrown = "0.2.4"
[target.'cfg(windows)'.dependencies.windows]
optional = true
version = "0.48.0"
workspace = true
features = [
"Win32_Foundation",
"Win32_Graphics_Dxgi_Common",

View file

@ -25,7 +25,7 @@ rayon = "1.6.1"
array-concat = "0.5.2"
[target.'cfg(windows)'.dependencies.windows]
version = "0.48.0"
workspace = true
features = [
"Win32_Foundation",
"Win32_Graphics_Dxgi_Common",

View file

@ -32,7 +32,7 @@ mach-siegbert-vogt-dxcsa = "0.1.3"
rayon = "1.6.1"
[target.'cfg(windows)'.dependencies.windows]
version = "0.48.0"
workspace = true
features = [
"Win32_Foundation",
"Win32_Graphics_Dxgi_Common",

View file

@ -34,7 +34,7 @@ librashader-runtime-wgpu = { path = "../librashader-runtime-wgpu", version = "0.
wgpu-types = { version = "0.19", optional = true }
[target.'cfg(windows)'.dependencies.windows]
version = "0.48.0"
workspace = true
optional = true
[target.'cfg(target_vendor="apple")'.dependencies]