From 92e2e09434ac744dbe25c8c0bd83666953c39b5b Mon Sep 17 00:00:00 2001 From: psvnl sai kumar Date: Mon, 14 Mar 2022 01:01:58 +0530 Subject: [PATCH 1/2] exporting heed to avoid having different versions of Heed in Meilisearch --- milli/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/milli/src/lib.rs b/milli/src/lib.rs index bb4f47e47..9cae8b254 100644 --- a/milli/src/lib.rs +++ b/milli/src/lib.rs @@ -20,6 +20,7 @@ use std::hash::BuildHasherDefault; pub use filter_parser::{Condition, FilterCondition}; use fxhash::{FxHasher32, FxHasher64}; pub use grenad::CompressionType; +pub use heed; pub use meilisearch_tokenizer as tokenizer; use serde_json::{Map, Value}; From 5e08fac729af28a18b2eef313e5ab006bfba1112 Mon Sep 17 00:00:00 2001 From: psvnl sai kumar Date: Mon, 14 Mar 2022 19:22:41 +0530 Subject: [PATCH 2/2] fixes for rustfmt pass --- milli/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/milli/src/lib.rs b/milli/src/lib.rs index 9cae8b254..ba2bd9b0f 100644 --- a/milli/src/lib.rs +++ b/milli/src/lib.rs @@ -20,9 +20,8 @@ use std::hash::BuildHasherDefault; pub use filter_parser::{Condition, FilterCondition}; use fxhash::{FxHasher32, FxHasher64}; pub use grenad::CompressionType; -pub use heed; -pub use meilisearch_tokenizer as tokenizer; use serde_json::{Map, Value}; +pub use {heed, meilisearch_tokenizer as tokenizer}; pub use self::asc_desc::{AscDesc, AscDescError, Member, SortError}; pub use self::criterion::{default_criteria, Criterion, CriterionError};