chore(deps): bump windows from 0.21 to 0.22

This commit bumps the version of the windows-rs and deprecates the
bindings crate in favour of using the pre-packaged APIs that are
available as of 0.22.
This commit is contained in:
LGUG2Z
2021-10-28 09:01:07 -07:00
parent 2f7ae6f15f
commit 18f34babfa
17 changed files with 301 additions and 364 deletions
+6 -2
View File
@@ -6,11 +6,15 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bindings = { package = "bindings", path = "../bindings" }
clap = "3.0.0-beta.4"
color-eyre = "0.5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.8"
strum = { version = "0.21", features = ["derive"] }
[dependencies.windows]
version = "0.22"
features = [
"Win32_Foundation",
]
+1 -2
View File
@@ -1,7 +1,6 @@
use serde::Deserialize;
use serde::Serialize;
use bindings::Windows::Win32::Foundation::RECT;
use windows::Win32::Foundation::RECT;
#[derive(Debug, Default, Clone, Copy, Serialize, Deserialize, Eq, PartialEq)]
pub struct Rect {