mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-12 23:23:20 +00:00
benches: move diff_bench to lib crate
It has no dependency on the cli crate.
This commit is contained in:
parent
7ebffe8e6f
commit
91d0c28080
4 changed files with 8 additions and 8 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -794,8 +794,6 @@ dependencies = [
|
||||||
"clap_complete",
|
"clap_complete",
|
||||||
"clap_mangen",
|
"clap_mangen",
|
||||||
"config",
|
"config",
|
||||||
"criterion",
|
|
||||||
"criterion_bencher_compat",
|
|
||||||
"crossterm",
|
"crossterm",
|
||||||
"dirs",
|
"dirs",
|
||||||
"esl01-renderdag",
|
"esl01-renderdag",
|
||||||
|
@ -837,6 +835,8 @@ dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"chrono",
|
"chrono",
|
||||||
"config",
|
"config",
|
||||||
|
"criterion",
|
||||||
|
"criterion_bencher_compat",
|
||||||
"digest",
|
"digest",
|
||||||
"git2",
|
"git2",
|
||||||
"hex",
|
"hex",
|
||||||
|
|
|
@ -26,10 +26,6 @@ path = "testing/fake-editor.rs"
|
||||||
name = "fake-diff-editor"
|
name = "fake-diff-editor"
|
||||||
path = "testing/fake-diff-editor.rs"
|
path = "testing/fake-diff-editor.rs"
|
||||||
|
|
||||||
[[bench]]
|
|
||||||
name = "diff_bench"
|
|
||||||
harness = false
|
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["lib", "lib/testutils", "lib/gen-protos"]
|
members = ["lib", "lib/testutils", "lib/gen-protos"]
|
||||||
|
|
||||||
|
@ -71,8 +67,6 @@ libc = { version = "0.2.140" }
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_cmd = "2.0.8"
|
assert_cmd = "2.0.8"
|
||||||
assert_matches = "1.5.0"
|
assert_matches = "1.5.0"
|
||||||
criterion = "0.4.0"
|
|
||||||
criterion_bencher_compat = "0.4.0"
|
|
||||||
insta = { version = "1.29.0", features = ["filters"] }
|
insta = { version = "1.29.0", features = ["filters"] }
|
||||||
regex = "1.7.2"
|
regex = "1.7.2"
|
||||||
testutils = { path = "lib/testutils" }
|
testutils = { path = "lib/testutils" }
|
||||||
|
|
|
@ -13,6 +13,10 @@ readme = "../README.md"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[[bench]]
|
||||||
|
name = "diff_bench"
|
||||||
|
harness = false
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
version_check = "0.9.4"
|
version_check = "0.9.4"
|
||||||
|
|
||||||
|
@ -45,6 +49,8 @@ zstd = "0.12.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_matches = "1.5.0"
|
assert_matches = "1.5.0"
|
||||||
|
criterion = "0.4.0"
|
||||||
|
criterion_bencher_compat = "0.4.0"
|
||||||
insta = "1.29.0"
|
insta = "1.29.0"
|
||||||
num_cpus = "1.15.0"
|
num_cpus = "1.15.0"
|
||||||
test-case = "3.0.0"
|
test-case = "3.0.0"
|
||||||
|
|
Loading…
Reference in a new issue