Apply yet unreleased fix for fast_image_resize

Current releases of fast_image_resize are broken on rust nightly
https://github.com/Cykooz/fast_image_resize/issues/15

Issue is already fixed on master branch but the new verison is not released yet
So temporarly use a clone of fast_image_resize current master branch
as a local submodule and add corresponding patch field in our Cargo.toml
This commit is contained in:
Gergő Sályi 2023-04-26 23:58:03 +02:00
parent a2471bda0b
commit bc1eabfd5c
4 changed files with 7 additions and 2 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "patch/fast_image_resize"]
path = patch/fast_image_resize
url = https://github.com/Cykooz/fast_image_resize

2
Cargo.lock generated
View file

@ -300,8 +300,6 @@ dependencies = [
[[package]]
name = "fast_image_resize"
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3858ec5a8a6acb62ba3221741b7fc9ee0a5aa42c246baea8052357589929e81"
dependencies = [
"num-traits",
"thiserror",

View file

@ -24,3 +24,6 @@ swayipc = "3.0.1"
[dependencies.smithay-client-toolkit]
version = "0.17.0"
default-features = false
[patch.crates-io]
fast_image_resize = { path = "patch/fast_image_resize" }

@ -0,0 +1 @@
Subproject commit 8548ee562b16888461f1a6487e43c55ebf83dff6