From c8016282883fde4e941f7b91c9f6366efd816d26 Mon Sep 17 00:00:00 2001 From: David Greenberg Date: Tue, 14 Jul 2015 22:49:07 -0400 Subject: [PATCH] Reduce public api --- src/lib.rs | 6 ------ src/main.rs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index eca854f..73c7d81 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,11 +23,7 @@ pub use ffi as rocksdb_ffi; pub use ffi::{ new_bloom_filter, - new_cache, - RocksDBUniversalCompactionStyle, RocksDBCompactionStyle, - RocksDBCompressionType, - RocksDBSnapshot, RocksDBComparator, }; pub use rocksdb::{ @@ -36,8 +32,6 @@ pub use rocksdb::{ RocksDBVector, WriteBatch, Writable, - DBIterator, - SubDBIterator, Direction, }; pub use rocksdb_options::{ diff --git a/src/main.rs b/src/main.rs index 0876616..bb084cf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,7 @@ extern crate rocksdb; 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; fn snapshot_test() {