From 5606679c53a507b3778b957afe8d1b16e865a2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Mon, 25 Nov 2024 16:24:59 +0100 Subject: [PATCH] Use the obkv and grenad crates.io versions --- Cargo.lock | 9 +++++---- crates/meilisearch/Cargo.toml | 2 +- crates/milli/Cargo.toml | 7 ++----- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2de9007f5..d94ff0804 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2263,13 +2263,13 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "grenad" -version = "0.4.7" -source = "git+https://github.com/meilisearch/grenad?branch=various-improvements#58ac87d852413571102f44c5e55ca13509a3f1a0" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e2ac9baf835ee2a7f0622a5617792ced6f65af25994078c343d429431ef2bbc" dependencies = [ "bytemuck", "byteorder", "either", - "rayon", "tempfile", ] @@ -3912,7 +3912,8 @@ dependencies = [ [[package]] name = "obkv" version = "0.3.0" -source = "git+https://github.com/kerollmops/obkv?branch=unsized-kvreader#ce535874008ecac554f02e0c670e6caf62134d6b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae4512a8f418ac322335255a72361b9ac927e106f4d7fe6ab4d8ac59cb01f7a9" [[package]] name = "once_cell" diff --git a/crates/meilisearch/Cargo.toml b/crates/meilisearch/Cargo.toml index b11d90151..2884f0c9c 100644 --- a/crates/meilisearch/Cargo.toml +++ b/crates/meilisearch/Cargo.toml @@ -57,7 +57,7 @@ meilisearch-types = { path = "../meilisearch-types" } mimalloc = { version = "0.1.43", default-features = false } mime = "0.3.17" num_cpus = "1.16.0" -obkv = { git = "https://github.com/kerollmops/obkv", branch = "unsized-kvreader" } +obkv = "0.3.0" once_cell = "1.19.0" ordered-float = "4.2.1" parking_lot = "0.12.3" diff --git a/crates/milli/Cargo.toml b/crates/milli/Cargo.toml index c47a0a354..ccf6877cd 100644 --- a/crates/milli/Cargo.toml +++ b/crates/milli/Cargo.toml @@ -28,10 +28,7 @@ flatten-serde-json = { path = "../flatten-serde-json" } fst = "0.4.7" fxhash = "0.2.1" geoutils = "0.5.1" -grenad = { version = "0.4.7", default-features = false, features = [ - "rayon", # TODO Should we keep this feature - "tempfile", -], git = "https://github.com/meilisearch/grenad", branch = "various-improvements" } +grenad = { version = "0.5.0", default-features = false, features = ["tempfile"] } heed = { version = "0.20.3", default-features = false, features = [ "serde-json", "serde-bincode", @@ -42,7 +39,7 @@ json-depth-checker = { path = "../json-depth-checker" } levenshtein_automata = { version = "0.2.1", features = ["fst_automaton"] } memchr = "2.5.0" memmap2 = "0.9.4" -obkv = { git = "https://github.com/kerollmops/obkv", branch = "unsized-kvreader" } +obkv = "0.3.0" once_cell = "1.19.0" ordered-float = "4.2.1" rayon = "1.10.0"