You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jordan Terrell 16a49d9706 Compression algorthms are now enabled by crate features... 6 years ago
librocksdb-sys Compression algorthms are now enabled by crate features... 6 years ago
src Adding Zstandard compression support... 6 years ago
tests Clean-up after test_prefix_iterator 7 years ago
.gitignore use relative path for tests 8 years ago
.gitmodules Adding Zlib and Bzip2 compression support... 6 years ago
.travis.yml merging benesch's work and more recent spacejam master 7 years ago
CHANGELOG.txt Cut version 0.10.1 6 years ago
Cargo.toml Compression algorthms are now enabled by crate features... 6 years ago
LICENSE oh yeah... 2014... 7 years ago
README.md Compression algorthms are now enabled by crate features... 6 years ago
rustfmt.toml changed try_ffi to take trailing comma and updated rustfmt accordingly 7 years ago

README.md

rust-rocksdb

Build Status crates.io documentation

Feedback and pull requests welcome! If a particular feature of RocksDB is important to you, please let me know by opening an issue, and I'll prioritize it.

This binding is statically linked with a specific version of RocksDB. If you want to build it yourself, make sure you've also cloned the RocksDB and compression submodules:

git submodule update --init --recursive

Compression Support

By default, support for the Snappy, LZ4, Zstd, Zlib, and Bzip2 compression is enabled through crate features. If support for all of these compression algorithms is not needed, default features can be disabled and specific compression algorithms can be enabled. For example, to enable only LZ4 compression support, make these changes to your Cargo.toml:

[dependencies.rocksdb]
default-features = false
features = ["lz4"]