removed an unused import and bumped version

This commit is contained in:
Valerie Wolfe 2022-06-09 13:39:12 -04:00
parent c575e0bf4d
commit 04dacdb562
3 changed files with 4 additions and 5 deletions

2
Cargo.lock generated
View file

@ -28,7 +28,7 @@ checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
[[package]]
name = "quickmaths"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"evalexpr",
"termion",

View file

@ -1,6 +1,6 @@
[package]
name = "quickmaths"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -7,8 +7,7 @@ use evalexpr::{
eval_with_context_mut,
HashMapContext,
Value,
ValueType
Value
};
use termion::{
color,
@ -19,7 +18,7 @@ fn main() {
let mut context = HashMapContext::new();
let expressions: Vec<String> = env::args().skip(1).collect();
if expressions.len() == 0 {
println!("{}quickmaths v0.1.1{}\n{}Interactive Mode{}", style::Bold, style::Reset, style::Faint, style::Reset);
println!("{}quickmaths v0.1.2{}\n{}Interactive Mode{}", style::Bold, style::Reset, style::Faint, style::Reset);
loop {
let mut i_line = String::new();
let line_result = stdin().read_line(&mut i_line);