diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 3b31513e..bb02d4e2 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -47,6 +47,7 @@ wasm-bindgen-test = "0.3" [[bench]] name = "store" harness = false +required-features = ["seld", "rocksdb"] [[bench]] name = "sparql_query" diff --git a/lib/benches/store.rs b/lib/benches/store.rs index 49990d2c..7a08d819 100644 --- a/lib/benches/store.rs +++ b/lib/benches/store.rs @@ -1,6 +1,6 @@ use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; -use oxigraph::model::*; -use oxigraph::*; +use oxigraph::model::{NamedNode, Quad}; +use oxigraph::{MemoryStore, RocksDbStore, SledStore}; use rand::random; use std::env::temp_dir; use std::fs::remove_dir_all; diff --git a/lib/src/lib.rs b/lib/src/lib.rs index b7093e13..9a1395d3 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -7,7 +7,7 @@ //! * `RocksDbStore`: a file system implementation based on the [RocksDB](https://rocksdb.org/) key-value store. //! It requires the `"rocksdb"` feature to be activated. //! It also requires the clang](https://clang.llvm.org/) compiler to be installed. -//! * `Sled`: an other file system implementation based on the [Sled](https://sled.rs/) key-value store. +//! * `SledStore`: an other file system implementation based on the [Sled](https://sled.rs/) key-value store. //! It requires the `"sled"` feature to be activated. //! Sled is much faster to build than RockDB and does not require a C++ compiler. //! However Sled is still in heavy developpment, less tested and data load seems much slower than RocksDB.