mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2024-11-23 07:29:54 +00:00
42102c589b
this moves the jemallocator and criterion dependencies to that crate, which will prevent further issues with MSRV in dependencies, and removes 75 dependencies from test builds
45 lines
682 B
TOML
45 lines
682 B
TOML
[package]
|
|
name = "benchmarks"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
criterion = "0.3.5"
|
|
jemallocator = "0.3.2"
|
|
nom = { path = "../" }
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[[bench]]
|
|
name = "arithmetic"
|
|
path = "benches/arithmetic.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "number"
|
|
path = "benches/number.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "http"
|
|
path = "benches/http.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "ini"
|
|
path = "benches/ini.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "ini_str"
|
|
path = "benches/ini_str.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "json"
|
|
path = "benches/json.rs"
|
|
harness = false
|