From b4fb2dabd46f40c6ae8f320a77ba4d9342cfefbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Mon, 25 Nov 2024 16:31:21 +0100 Subject: [PATCH] Use the grenad rayon feature --- Cargo.lock | 1 + crates/milli/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d94ff0804..0f2a13125 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2270,6 +2270,7 @@ dependencies = [ "bytemuck", "byteorder", "either", + "rayon", "tempfile", ] diff --git a/crates/milli/Cargo.toml b/crates/milli/Cargo.toml index ccf6877cd..1a3bfbcf1 100644 --- a/crates/milli/Cargo.toml +++ b/crates/milli/Cargo.toml @@ -28,7 +28,7 @@ flatten-serde-json = { path = "../flatten-serde-json" } fst = "0.4.7" fxhash = "0.2.1" geoutils = "0.5.1" -grenad = { version = "0.5.0", default-features = false, features = ["tempfile"] } +grenad = { version = "0.5.0", default-features = false, features = ["rayon", "tempfile"] } heed = { version = "0.20.3", default-features = false, features = [ "serde-json", "serde-bincode",