parity_rocksdb/
lib.rs

1// Copyright 2014 Tyler Neely
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15extern crate parity_rocksdb_sys as rocksdb_sys;
16extern crate local_encoding;
17
18pub use rocksdb_sys::rocksdb_ffi as rocksdb_ffi;
19pub use rocksdb_ffi::{DBCompactionStyle, DBComparator, new_bloom_filter};
20pub use rocksdb::{DB, DBIterator, DBVector, Direction, IteratorMode, Writable,
21                  WriteBatch, Column, ReadOptions};
22pub use rocksdb_options::{BlockBasedOptions, Options, WriteOptions, IndexType, Cache};
23pub use merge_operator::MergeOperands;
24pub mod rocksdb;
25pub mod rocksdb_options;
26pub mod merge_operator;
27pub mod comparator;