Fix lib name
This commit is contained in:
parent
8363cd20eb
commit
6fdf4de722
@ -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]
|
||||||
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user