parent
0c3a7ed0d8
commit
e63ea62512
4 changed files with 10 additions and 35 deletions
29
Cargo.lock
generated
29
Cargo.lock
generated
|
@ -382,26 +382,6 @@ version = "0.2.142"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317"
|
||||
|
||||
[[package]]
|
||||
name = "libudev"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "78b324152da65df7bb95acfcaab55e3097ceaab02fb19b228a9eb74d55f135e0"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"libudev-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "libudev-sys"
|
||||
version = "0.1.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"pkg-config",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "link-cplusplus"
|
||||
version = "1.0.8"
|
||||
|
@ -486,12 +466,6 @@ version = "1.17.1"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
|
||||
|
||||
[[package]]
|
||||
name = "pkg-config"
|
||||
version = "0.3.27"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro-hack"
|
||||
version = "0.5.20+deprecated"
|
||||
|
@ -630,7 +604,6 @@ dependencies = [
|
|||
"IOKit-sys",
|
||||
"bitflags",
|
||||
"cfg-if",
|
||||
"libudev",
|
||||
"mach 0.3.2",
|
||||
"nix",
|
||||
"regex",
|
||||
|
@ -639,7 +612,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "seymour_life"
|
||||
version = "2.3.1"
|
||||
version = "2.3.2"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
|
|
@ -2,14 +2,16 @@
|
|||
|
||||
[package]
|
||||
name = "seymour_life"
|
||||
version = "2.3.1"
|
||||
version = "2.3.2"
|
||||
edition = "2021"
|
||||
#For cross-compilation, uncomment this and line 1.
|
||||
#forced-target="aarch64-unknown-linux-gnu"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
rppal = "0.14.1"
|
||||
serialport = "4.2.0"
|
||||
serialport = { version = "4.2.0", default-features = false }
|
||||
log = "0.4"
|
||||
fern = "0.6.2"
|
||||
chrono = "0.4.24"
|
||||
|
|
|
@ -195,7 +195,7 @@ impl Device{
|
|||
log::error!("Unexpected response from device {}!",self.serial);
|
||||
log::debug!("brightness menu, catch-all, first loop, {}, {:?}",self.serial,self.usb_tty);
|
||||
log::error!("Unsure how to continue. Expect data from device {} to be erratic until next cycle.",self.serial);
|
||||
break;
|
||||
//break;
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -222,7 +222,7 @@ impl Device{
|
|||
log::error!("Unexpected response from device {}!", self.serial);
|
||||
log::debug!("brightness menu, catch-all, second loop, {}, {:?}",self.serial,self.usb_tty);
|
||||
log::error!("Unsure how to continue. Expect data from device {} to be erratic until next cycle.",self.serial);
|
||||
break;
|
||||
//break;
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -266,7 +266,7 @@ impl Device{
|
|||
log::error!("Unexpected response from device {}!",self.serial);
|
||||
log::debug!("lifecycle menu, catch-all, first loop, {}, {:?}",self.serial,self.usb_tty);
|
||||
log::error!("Unsure how to continue. Expect data from device {} to be erratic until next cycle.",self.serial);
|
||||
break;
|
||||
//break;
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -293,7 +293,7 @@ impl Device{
|
|||
log::error!("Unexpected response from device {}! {:?}", self.serial, read_in);
|
||||
log::debug!("lifecycle menu, catch-all, second loop, {}, {:?}",self.serial,self.usb_tty);
|
||||
log::error!("Unsure how to continue. Expect data from device {} to be erratic until next cycle.",self.serial);
|
||||
break;
|
||||
//break;
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
|
@ -25,7 +25,7 @@ struct Args{
|
|||
|
||||
}
|
||||
|
||||
const VERSION:&str="2.3.1";
|
||||
const VERSION:&str="2.3.2";
|
||||
const DEBUG_ITERATION_COUNT:u64=50000;
|
||||
|
||||
fn int_input_filtering(prompt:Option<&str>) -> u64{
|
||||
|
|
Loading…
Add table
Reference in a new issue