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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -32,7 +32,7 @@ mach-siegbert-vogt-dxcsa = "0.1.3"
rayon = "1.6.1" rayon = "1.6.1"
[target.'cfg(windows)'.dependencies.windows] [target.'cfg(windows)'.dependencies.windows]
version = "0.48.0" workspace = true
features = [ features = [
"Win32_Foundation", "Win32_Foundation",
"Win32_Graphics_Dxgi_Common", "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 } wgpu-types = { version = "0.19", optional = true }
[target.'cfg(windows)'.dependencies.windows] [target.'cfg(windows)'.dependencies.windows]
version = "0.48.0" workspace = true
optional = true optional = true
[target.'cfg(target_vendor="apple")'.dependencies] [target.'cfg(target_vendor="apple")'.dependencies]