From f2c3f01120ca2eb5482f46fc52d482e0d5b996bc Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Thu, 27 Mar 2025 22:06:52 -0400 Subject: [PATCH] Cargo.toml: remove extra version constraint for zbus, tokio, and bindgen The zbus and tokio dependencies have an API that shouldn't break without a major version change. Rely solely on the major version number to tell Cargo which package to use. For bindgen, macro version numbers should be omitted. --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c00d7cf..6aa29e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ memmap2 = "0.9" polling = "3.7" reis = "0.4" rgb = "0.8" -tokio = { version = "1.42", features = ["macros", "rt"] } +tokio = { version = "1", features = ["macros", "rt"] } wayland-backend = "0.3" wayland-client = "0.31" wayland-protocols = { version = "0.32", features = ["client", "staging", "unstable"] } @@ -25,10 +25,10 @@ wayland-protocols-wlr = { version = "0.3", features = ["client"] } wayland-scanner = "0.31" xkeysym = "0.2" yaml-rust2 = "0.9" -zbus = { version = "5.1", default-features = false, features = ["tokio"] } +zbus = { version = "5", default-features = false, features = ["tokio"] } [build-dependencies] -bindgen = "0.70.1" +bindgen = "0.71" [[bin]] name = "ufkbd-gnome"