Revert a dep to older version

This commit is contained in:
Luke D Jones
2020-08-28 22:20:21 +12:00
parent 855d4dc701
commit 772538bc8a
3 changed files with 23 additions and 7 deletions

22
Cargo.lock generated
View File

@@ -30,7 +30,7 @@ dependencies = [
[[package]]
name = "asus-nb-ctrl"
version = "1.0.3"
version = "1.0.4"
dependencies = [
"asus-nb",
"async-trait",
@@ -72,6 +72,21 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "bit-set"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de"
dependencies = [
"bit-vec",
]
[[package]]
name = "bit-vec"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f0dc55f2d8a1a85650ac47858bb001b4c0dd73d79e3c455a842925e68d29cd3"
[[package]]
name = "bitflags"
version = "1.2.1"
@@ -633,10 +648,11 @@ checksum = "cabe4fa914dec5870285fa7f71f602645da47c486e68486d2b4ceb4a343e90ac"
[[package]]
name = "rusb"
version = "0.6.2"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fac7576c07e31f5885d67ec09fd8509e4b730cea4266fecfe7f068f3a5d1f3b3"
checksum = "884a9ee2c66cdb5ca6c5243ea91cdbba9865506792c3d175d1ad8de8bb0ea64a"
dependencies = [
"bit-set",
"libc",
"libusb1-sys",
]

View File

@@ -1,6 +1,6 @@
[package]
name = "asus-nb-ctrl"
version = "1.0.3"
version = "1.0.4"
license = "MPL-2.0"
readme = "README.md"
authors = ["Luke <luke@ljones.dev>"]
@@ -23,7 +23,7 @@ path = "src/daemon.rs"
[dependencies]
asus-nb = { path = "../asus-nb" }
rusb = "^0.6.0"
rusb = "=0.6.0"
udev = "^0.4.0"
async-trait = "0.1.36"
@@ -46,4 +46,4 @@ toml = "0.4.6"
# Device control
sysfs-class = "^0.1.2" # used for backlight control and baord ID
# cpu power management
intel-pstate = "^0.2.1"
intel-pstate = "^0.2.1"

View File

@@ -23,7 +23,7 @@ use std::sync::Arc;
use tokio::sync::{mpsc::Receiver, Mutex};
use tokio::task::JoinHandle;
pub static VERSION: &str = "1.0.3";
pub static VERSION: &str = "1.0.4";
use ::dbus::{nonblock::SyncConnection, tree::Signal};