diff --git a/Cargo.lock b/Cargo.lock index fdea48b6b7e8417901e25fc41984a4a2d74538e2..cb0e25b1521817c308e2ba1d340447f0ac1d3348 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3560,8 +3560,7 @@ dependencies = [ [[package]] name = "softbuffer" version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2b953f6ba7285f0af131eb748aabd8ddaf53e0b81dda3ba5d803b0847d6559f" +source = "git+https://github.com/rust-windowing/softbuffer?branch=redox-0.2#af585358e396a6398102f63c889bce670d20a587" dependencies = [ "bytemuck", "cfg_aliases", diff --git a/Cargo.toml b/Cargo.toml index 9d59c7f084ac330ca0c31d9065a3cd56ea71d32b..167cd7d697859049cd569d3dc6a0f895af477f56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,3 +3,6 @@ members = [ "orbutils", "calculator" ] + +[patch.crates-io] +softbuffer = { git = "https://github.com/rust-windowing/softbuffer", branch = "redox-0.2" } diff --git a/calculator/Cargo.toml b/calculator/Cargo.toml index 5dadf14b49dfe86174cfdadc1218a2705556bbc2..4aeb18490c020f2d09d34dce117b3350792e664d 100644 --- a/calculator/Cargo.toml +++ b/calculator/Cargo.toml @@ -21,6 +21,3 @@ coop_widgets = { git = "https://codeberg.org/flovansl/co_sl" } [features] default = [] slint-default = ["slint/default"] - -[patch.crates-io] -softbuffer = { git = "https://github.com/rust-windowing/softbuffer" }