From e20a038970de8680f282073c28f083b9a4f60943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 29 Aug 2019 15:11:51 +0200 Subject: [PATCH] fix: Expose some internal functions --- meilidb-data/src/lib.rs | 2 +- meilidb-data/src/serde/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meilidb-data/src/lib.rs b/meilidb-data/src/lib.rs index 4d9719370..da5c35e28 100644 --- a/meilidb-data/src/lib.rs +++ b/meilidb-data/src/lib.rs @@ -9,4 +9,4 @@ pub use rocksdb; pub use self::database::{Database, Index, CustomSettings}; pub use self::number::Number; pub use self::ranked_map::RankedMap; -pub use self::serde::compute_document_id; +pub use self::serde::{compute_document_id, extract_document_id, value_to_string}; diff --git a/meilidb-data/src/serde/mod.rs b/meilidb-data/src/serde/mod.rs index b19d579ef..b0433f11f 100644 --- a/meilidb-data/src/serde/mod.rs +++ b/meilidb-data/src/serde/mod.rs @@ -16,7 +16,7 @@ mod indexer; mod serializer; pub use self::deserializer::Deserializer; -pub use self::extract_document_id::{extract_document_id, compute_document_id}; +pub use self::extract_document_id::{extract_document_id, compute_document_id, value_to_string}; pub use self::convert_to_string::ConvertToString; pub use self::convert_to_number::ConvertToNumber; pub use self::indexer::Indexer;