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.
 
 
 
 
 
 
Xuejie Xiao e19dad0141 Add lifetime to DBPinnableSlice to make sure it cannot outlive DB 5 years ago
librocksdb-sys Applying changes from rustfmt... 5 years ago
src Add lifetime to DBPinnableSlice to make sure it cannot outlive DB 5 years ago
tests Implement PinnableSlice based API 5 years ago
.gitignore Some changes in a .gitignore file 6 years ago
.gitmodules Adding Zlib and Bzip2 compression support... 6 years ago
.travis.yml Adding format checks to CI build... 5 years ago
CHANGELOG.md Fixed a number of year in the changelog 6 years ago
Cargo.toml Bumping crate version for librocksdb-sys to 5.14.3 and rocksdb to 0.11... 6 years ago
LICENSE oh yeah... 2014... 6 years ago
MAINTAINERSHIP.md Update MAINTAINERSHIP.md 6 years ago
README.md Add requirements and headings 5 years ago
code-of-conduct.md Create code-of-conduct.md 6 years ago

README.md

rust-rocksdb

Build Status crates.io documentation license Gitter chat

GitHub commits (since latest release)

Requirements

  • Clang and LLVM

Contributing

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.

Usage

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"]