Skip to content

Commit

Permalink
export FlatIndex at crate root
Browse files Browse the repository at this point in the history
  • Loading branch information
Enet4 committed Apr 3, 2018
1 parent 5ae28bc commit acd79ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//!
//! ```toml
//! [dependencies]
//! "faiss" = {version = "0.2.0", features = ["gpu"]}
//! "faiss" = {version = "0.4.0", features = ["gpu"]}
//! ```
//!
//! # Examples
Expand Down Expand Up @@ -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")]
Expand Down

0 comments on commit acd79ba

Please sign in to comment.