Update version information
Blind push to stable, part 2 -_-
This commit is contained in:
parent
a89bd859b3
commit
cca2e44a01
3 changed files with 5 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -466,7 +466,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "seymour_poc_rust"
|
||||
version = "2.0.0"
|
||||
version = "2.0.1"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"derivative",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[package]
|
||||
name = "seymour_poc_rust"
|
||||
version = "2.0.0"
|
||||
version = "2.0.1"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -2,6 +2,8 @@ use seymour_poc_rust::{device::Device, tty::{self,TTY,Response},gpio_facade::Gpi
|
|||
use std::{io::{stdin,stdout,Write},thread::{self, JoinHandle},path::Path,fs};
|
||||
use chrono::{DateTime,Local};
|
||||
|
||||
const VERSION:&str="2.0.1";
|
||||
|
||||
fn int_input_filtering(prompt:Option<&str>) -> u64{
|
||||
let internal_prompt = prompt.unwrap_or(">>>");
|
||||
let mut user_input:String = String::new();
|
||||
|
@ -35,6 +37,7 @@ fn input_filtering(prompt:Option<&str>) -> String{
|
|||
|
||||
fn main(){
|
||||
setup_logs();
|
||||
log::info!("Seymour Life Testing version: {}",VERSION);
|
||||
let gpio = &mut GpioPins::new();
|
||||
let available_ttys = std::fs::read_dir("/dev/serial/by-id").unwrap();
|
||||
let mut possible_devices:Vec<Option<Device>> = Vec::new();
|
||||
|
|
Loading…
Add table
Reference in a new issue