Merge pull request #85 from rust-windowing/bump-deps
Update `windows-sys` and `image`
This commit is contained in:
commit
7ba535c225
2 changed files with 4 additions and 4 deletions
|
|
@ -37,7 +37,7 @@ x11rb = { version = "0.11.0", features = ["allow-unsafe-code", "dl-libxcb", "shm
|
||||||
fastrand = { version = "1.8.0", optional = true }
|
fastrand = { version = "1.8.0", optional = true }
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
||||||
version = "0.45.0"
|
version = "0.48.0"
|
||||||
features = ["Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
|
features = ["Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
|
|
@ -65,14 +65,14 @@ instant = "0.1.12"
|
||||||
winit = "0.28.1"
|
winit = "0.28.1"
|
||||||
|
|
||||||
[dev-dependencies.image]
|
[dev-dependencies.image]
|
||||||
version = "0.23.14"
|
version = "0.24.6"
|
||||||
# Disable rayon on web
|
# Disable rayon on web
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["jpeg"]
|
features = ["jpeg"]
|
||||||
|
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||||
# Turn rayon back on everywhere else; creating the separate entry resets the features to default.
|
# Turn rayon back on everywhere else; creating the separate entry resets the features to default.
|
||||||
image = "0.23.14"
|
image = "0.24.6"
|
||||||
rayon = "1.5.1"
|
rayon = "1.5.1"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ impl Buffer {
|
||||||
biHeight: -height.get(),
|
biHeight: -height.get(),
|
||||||
biPlanes: 1,
|
biPlanes: 1,
|
||||||
biBitCount: 32,
|
biBitCount: 32,
|
||||||
biCompression: Gdi::BI_BITFIELDS,
|
biCompression: Gdi::BI_BITFIELDS as u32,
|
||||||
biSizeImage: 0,
|
biSizeImage: 0,
|
||||||
biXPelsPerMeter: 0,
|
biXPelsPerMeter: 0,
|
||||||
biYPelsPerMeter: 0,
|
biYPelsPerMeter: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue