mirror of
https://github.com/openharmony/third_party_rust_rust-cexpr.git
synced 2026-06-30 21:17:58 -04:00
@@ -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
@@ -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
@@ -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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user