mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Update criterion dependency and add feature for benchmarks
This commit is contained in:
parent
7a3ddc9147
commit
b4069fa18b
@ -13,10 +13,15 @@ crate-type = ["cdylib", "lib"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = "^0.4.10"
|
chrono = "^0.4.10"
|
||||||
|
criterion = { version = "0.5", features = ["html_reports"], optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[features]
|
||||||
criterion = { version = "0.4", features = ["html_reports"] }
|
bench = ["dep:criterion"]
|
||||||
|
|
||||||
|
# [dev-dependencies]
|
||||||
|
# criterion = { version = "0.5", features = ["html_reports"], optional = true }
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "benchmarks"
|
name = "benchmarks"
|
||||||
harness = false
|
harness = false
|
||||||
|
required-features = ["bench"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user