Update version information

Blind push to stable, part 2 -_-
This commit is contained in:
Blizzard Finnegan 2023-05-25 11:16:00 -04:00
parent a89bd859b3
commit cca2e44a01
Signed by: blizzardfinnegan
GPG key ID: 61C1E13067E0018E
3 changed files with 5 additions and 2 deletions

2
Cargo.lock generated
View file

@ -466,7 +466,7 @@ dependencies = [
[[package]] [[package]]
name = "seymour_poc_rust" name = "seymour_poc_rust"
version = "2.0.0" version = "2.0.1"
dependencies = [ dependencies = [
"chrono", "chrono",
"derivative", "derivative",

View file

@ -2,7 +2,7 @@
[package] [package]
name = "seymour_poc_rust" name = "seymour_poc_rust"
version = "2.0.0" version = "2.0.1"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -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 std::{io::{stdin,stdout,Write},thread::{self, JoinHandle},path::Path,fs};
use chrono::{DateTime,Local}; use chrono::{DateTime,Local};
const VERSION:&str="2.0.1";
fn int_input_filtering(prompt:Option<&str>) -> u64{ fn int_input_filtering(prompt:Option<&str>) -> u64{
let internal_prompt = prompt.unwrap_or(">>>"); let internal_prompt = prompt.unwrap_or(">>>");
let mut user_input:String = String::new(); let mut user_input:String = String::new();
@ -35,6 +37,7 @@ fn input_filtering(prompt:Option<&str>) -> String{
fn main(){ fn main(){
setup_logs(); setup_logs();
log::info!("Seymour Life Testing version: {}",VERSION);
let gpio = &mut GpioPins::new(); let gpio = &mut GpioPins::new();
let available_ttys = std::fs::read_dir("/dev/serial/by-id").unwrap(); let available_ttys = std::fs::read_dir("/dev/serial/by-id").unwrap();
let mut possible_devices:Vec<Option<Device>> = Vec::new(); let mut possible_devices:Vec<Option<Device>> = Vec::new();