From acd79bac9268ed527b6627a52df6f5f5a71a60e5 Mon Sep 17 00:00:00 2001 From: Eduardo Pinho Date: Tue, 3 Apr 2018 17:31:25 +0100 Subject: [PATCH] export `FlatIndex` at crate root --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 47d9f8d..2d4c4d4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,7 +21,7 @@ //! //! ```toml //! [dependencies] -//! "faiss" = {version = "0.2.0", features = ["gpu"]} +//! "faiss" = {version = "0.4.0", features = ["gpu"]} //! ``` //! //! # Examples @@ -100,6 +100,7 @@ pub mod metric; pub mod gpu; pub use index::{index_factory, Index, ConcurrentIndex}; +pub use index::flat::FlatIndex; pub use metric::MetricType; #[cfg(feature = "gpu")]