Fix lib name

This commit is contained in:
Jeff 2023-06-23 23:45:58 -04:00
parent 8363cd20eb
commit 6fdf4de722
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "expressive" name = "expressive"
version = "0.1.0" version = "0.1.1"
description = "Fork of evalexpr" description = "Fork of evalexpr"
authors = ["jeff <dev@jeffa.io.com>"] authors = ["jeff <dev@jeffa.io.com>"]
repository = "https://git.jeffa.io/jeff/expressive.git" repository = "https://git.jeffa.io/jeff/expressive.git"
@ -10,7 +10,7 @@ license = "MIT"
edition = "2018" edition = "2018"
[lib] [lib]
name = "evalexpr" name = "expressive"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]

View File

@ -1,7 +1,7 @@
pub fn main() -> Result<(), Box<dyn std::error::Error>> { pub fn main() -> Result<(), Box<dyn std::error::Error>> {
let args = std::env::args().skip(1).collect::<Vec<String>>().join(" "); let args = std::env::args().skip(1).collect::<Vec<String>>().join(" ");
println!("{}", evalexpr::eval(&args)?); println!("{}", expressive::eval(&args)?);
Ok(()) Ok(())
} }

View File

@ -1,7 +1,7 @@
pub fn main() -> Result<(), Box<dyn std::error::Error>> { pub fn main() -> Result<(), Box<dyn std::error::Error>> {
let args = std::env::args().skip(1).collect::<Vec<String>>().join(" "); let args = std::env::args().skip(1).collect::<Vec<String>>().join(" ");
println!("{}", evalexpr::eval(&args)?); println!("{}", expressive::eval(&args)?);
Ok(()) Ok(())
} }