275: Fix the benchmarks dependencies r=Kerollmops a=irevoire

Import exactly the same dependency as milli instead of a wildcard that can do anything

Co-authored-by: Tamo <tamo@meilisearch.com>
Co-authored-by: Irevoire <irevoire@protonmail.ch>
This commit is contained in:
bors[bot] 2021-07-01 11:07:01 +00:00 committed by GitHub
commit f25f454bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 61 deletions

70
Cargo.lock generated
View File

@ -131,7 +131,7 @@ dependencies = [
"convert_case", "convert_case",
"criterion", "criterion",
"flate2", "flate2",
"heed 0.11.0", "heed",
"jemallocator", "jemallocator",
"milli", "milli",
"reqwest", "reqwest",
@ -870,35 +870,16 @@ dependencies = [
"unicode-segmentation", "unicode-segmentation",
] ]
[[package]]
name = "heed"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "269c7486ed6def5d7b59a427cec3e87b4d4dd4381d01e21c8c9f2d3985688392"
dependencies = [
"bytemuck",
"byteorder",
"heed-traits 0.8.0",
"heed-types 0.8.0",
"libc",
"lmdb-rkv-sys 0.11.0",
"once_cell",
"page_size",
"serde",
"synchronoise",
"url",
]
[[package]] [[package]]
name = "heed" name = "heed"
version = "0.12.0" version = "0.12.0"
source = "git+https://github.com/Kerollmops/heed?tag=v0.12.0#6c0b95793a805dc598f05c119494e6c069de0326" source = "git+https://github.com/Kerollmops/heed?tag=v0.12.0#6c0b95793a805dc598f05c119494e6c069de0326"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"heed-traits 0.7.0", "heed-traits",
"heed-types 0.7.2", "heed-types",
"libc", "libc",
"lmdb-rkv-sys 0.15.0", "lmdb-rkv-sys",
"once_cell", "once_cell",
"page_size", "page_size",
"serde", "serde",
@ -912,45 +893,25 @@ name = "heed-traits"
version = "0.7.0" version = "0.7.0"
source = "git+https://github.com/Kerollmops/heed?tag=v0.12.0#6c0b95793a805dc598f05c119494e6c069de0326" source = "git+https://github.com/Kerollmops/heed?tag=v0.12.0#6c0b95793a805dc598f05c119494e6c069de0326"
[[package]]
name = "heed-traits"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a53a94e5b2fd60417e83ffdfe136c39afacff0d4ac1d8d01cd66928ac610e1a2"
[[package]] [[package]]
name = "heed-types" name = "heed-types"
version = "0.7.2" version = "0.7.2"
source = "git+https://github.com/Kerollmops/heed?tag=v0.12.0#6c0b95793a805dc598f05c119494e6c069de0326" source = "git+https://github.com/Kerollmops/heed?tag=v0.12.0#6c0b95793a805dc598f05c119494e6c069de0326"
dependencies = [ dependencies = [
"bincode", "bincode",
"heed-traits 0.7.0", "heed-traits",
"serde", "serde",
"serde_json", "serde_json",
"zerocopy", "zerocopy",
] ]
[[package]]
name = "heed-types"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a6cf0a6952fcedc992602d5cddd1e3fff091fbe87d38636e3ec23a31f32acbd"
dependencies = [
"bincode",
"bytemuck",
"byteorder",
"heed-traits 0.8.0",
"serde",
"serde_json",
]
[[package]] [[package]]
name = "helpers" name = "helpers"
version = "0.7.1" version = "0.7.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"byte-unit", "byte-unit",
"heed 0.12.0", "heed",
"jemallocator", "jemallocator",
"milli", "milli",
"stderrlog", "stderrlog",
@ -1014,7 +975,7 @@ dependencies = [
"funty", "funty",
"futures", "futures",
"grenad", "grenad",
"heed 0.12.0", "heed",
"jemallocator", "jemallocator",
"log", "log",
"maplit", "maplit",
@ -1154,7 +1115,7 @@ dependencies = [
"anyhow", "anyhow",
"byte-unit", "byte-unit",
"csv", "csv",
"heed 0.12.0", "heed",
"jemallocator", "jemallocator",
"milli", "milli",
"roaring", "roaring",
@ -1315,17 +1276,6 @@ version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
[[package]]
name = "lmdb-rkv-sys"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b27470ac25167b3afdfb6af8fcd3bc1be67de50ffbdaf4073378cfded6ae24a5"
dependencies = [
"cc",
"libc",
"pkg-config",
]
[[package]] [[package]]
name = "lmdb-rkv-sys" name = "lmdb-rkv-sys"
version = "0.15.0" version = "0.15.0"
@ -1434,7 +1384,7 @@ dependencies = [
"fst", "fst",
"fxhash", "fxhash",
"grenad", "grenad",
"heed 0.12.0", "heed",
"human_format", "human_format",
"itertools 0.10.1", "itertools 0.10.1",
"levenshtein_automata", "levenshtein_automata",
@ -2278,7 +2228,7 @@ version = "0.7.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"byte-unit", "byte-unit",
"heed 0.12.0", "heed",
"jemallocator", "jemallocator",
"log", "log",
"milli", "milli",

View File

@ -11,7 +11,7 @@ milli = { path = "../milli" }
jemallocator = "0.3.2" jemallocator = "0.3.2"
[dev-dependencies] [dev-dependencies]
heed = "*" # we want to use the version milli uses heed = { git = "https://github.com/Kerollmops/heed", tag = "v0.12.0" }
criterion = { version = "0.3.4", features = ["html_reports"] } criterion = { version = "0.3.4", features = ["html_reports"] }
[build-dependencies] [build-dependencies]