rocksdb-sys

Crates.iorocksdb-sys
lib.rsrocksdb-sys
version0.2.2
sourcesrc
created_at2015-08-17 22:30:10.074001
updated_at2016-05-31 17:52:38.039717
descriptionNative bindings to the rocksdb library
homepage
repositoryhttps://github.com/jsgf/rocksdb-sys.git
max_upload_size
id2863
size9,549,404
Jeremy Fitzhardinge (jsgf)

documentation

README

RocksDB bindings

Build Status

This is low-level bindings to RocksDB's C API, as of 4.3.1.

By default RocksDB uses tcmalloc, which can interact badly with Rust's use of jemalloc/system malloc, since tcmalloc won't get loaded until rocksdb is itself loaded. To avoid this conflict, this crate builds rocksdb for itself, and uses static linking to avoid pulling in tcmalloc. However, since the code will end up being part of a .so file, it needs to be compiled with -fPIC, which is an additional build option.

If you want to use rocksdb's various compression options, then you must pre-install the appropriate libraries (snappy, lz4, bzip2).

Commit count: 15

cargo fmt