From a633c2a49a58ec2e2125d0d8aae84cd3658ce191 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Thu, 25 May 2017 10:21:19 +0900 Subject: [PATCH] Avoid exposing common. Exposes u64 to i64 conversion instead. --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5029a6cf6..3d0e3f869 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -91,7 +91,7 @@ pub type Result = std::result::Result; mod core; mod compression; mod indexer; -pub mod common; +mod common; mod error; mod analyzer; mod datastruct; @@ -129,6 +129,7 @@ pub use postings::Postings; pub use core::SegmentComponent; pub use postings::SegmentPostingsOption; +pub use common::{i64_to_u64, u64_to_i64}; /// Expose the current version of tantivy, as well /// whether it was compiled with the simd compression.