cexpr版本升级到0.6.0

Signed-off-by: 薛磊 <xuelei3@huawei.com>
This commit is contained in:
薛磊
2024-07-12 18:10:59 +08:00
parent 79a85d7c56
commit f93db1036f
3 changed files with 14 additions and 14 deletions
+10 -10
View File
@@ -14,15 +14,15 @@
import("//build/ohos.gni")
ohos_cargo_crate("lib") {
crate_name = "cexpr"
crate_type = "rlib"
crate_root = "src/lib.rs"
crate_name = "cexpr"
crate_type = "rlib"
crate_root = "src/lib.rs"
sources = ["src/lib.rs"]
edition = "2018"
cargo_pkg_version = "0.5.0"
cargo_pkg_authors = "Jethro Beekman <jethro@jbeekman.nl>"
cargo_pkg_name = "cexpr"
cargo_pkg_description = "A C expression parser and evaluator"
deps = ["//third_party/rust/crates/nom:lib"]
sources = ["src/lib.rs"]
edition = "2018"
cargo_pkg_version = "0.6.0"
cargo_pkg_authors = "Jethro Beekman <jethro@jbeekman.nl>"
cargo_pkg_name = "cexpr"
cargo_pkg_description = "A C expression parser and evaluator"
deps = ["//third_party/rust/crates/nom:lib"]
}
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "cexpr"
version = "0.5.0"
version = "0.6.0"
edition = "2018"
authors = ["Jethro Beekman <jethro@jbeekman.nl>"]
license = "Apache-2.0/MIT"
@@ -13,7 +13,7 @@ keywords = ["C","expression","parser"]
travis-ci = { repository = "jethrogb/rust-cexpr" }
[dependencies]
nom = { version = "6", default-features = false, features = ["std"] }
nom = { version = "7", default-features = false, features = ["std"] }
[dev-dependencies]
clang-sys = ">= 0.13.0, < 0.29.0"
+2 -2
View File
@@ -3,8 +3,8 @@
"Name": "rust-cexpr",
"License": "Apache License 2.0, MIT",
"License File": "LICENSE-APACHE|LICENSE-MIT",
"Version Number": "v0.5.0",
"Owner": "fangting12@huawei.com",
"Version Number": "v0.6.0",
"Owner": "xuelei3@huawei.com",
"Upstream URL": "https://github.com/jethrogb/rust-cexpr",
"Description": "A library that provides support for evaluating simple constant expressions at compile time."
}