Reduce public api

master
David Greenberg 10 years ago
parent 91b8246735
commit c801628288
  1. 6
      src/lib.rs
  2. 2
      src/main.rs

@ -23,11 +23,7 @@
pub use ffi as rocksdb_ffi; pub use ffi as rocksdb_ffi;
pub use ffi::{ pub use ffi::{
new_bloom_filter, new_bloom_filter,
new_cache,
RocksDBUniversalCompactionStyle,
RocksDBCompactionStyle, RocksDBCompactionStyle,
RocksDBCompressionType,
RocksDBSnapshot,
RocksDBComparator, RocksDBComparator,
}; };
pub use rocksdb::{ pub use rocksdb::{
@ -36,8 +32,6 @@ pub use rocksdb::{
RocksDBVector, RocksDBVector,
WriteBatch, WriteBatch,
Writable, Writable,
DBIterator,
SubDBIterator,
Direction, Direction,
}; };
pub use rocksdb_options::{ pub use rocksdb_options::{

@ -17,7 +17,7 @@
extern crate rocksdb; extern crate rocksdb;
extern crate test; extern crate test;
use rocksdb::{Options, RocksDB, MergeOperands, new_bloom_filter, Writable, DBIterator, SubDBIterator }; use rocksdb::{Options, RocksDB, MergeOperands, new_bloom_filter, Writable, };
use rocksdb::RocksDBCompactionStyle::RocksDBUniversalCompaction; use rocksdb::RocksDBCompactionStyle::RocksDBUniversalCompaction;
fn snapshot_test() { fn snapshot_test() {

Loading…
Cancel
Save