Cargo Features

[dependencies]
metaldb = { version = "1.0.0", default-features = false, features = ["with-serde", "rocksdb_snappy", "rocksdb_lz4", "rocksdb_zlib", "rocksdb_zstd", "rocksdb_bzip2", "long_benchmarks"] }
default = rocksdb_snappy

The rocksdb_snappy feature is set by default whenever metaldb is added without default-features = false somewhere in the dependency tree.

with-serde
rocksdb_snappy default

Compression options passed to RocksDB backend.

Enables snappy of rocksdb ^0.18.0

rocksdb_lz4

Enables lz4 of rocksdb ^0.18.0

rocksdb_zlib

Enables zlib of rocksdb ^0.18.0

rocksdb_zstd

Enables zstd of rocksdb ^0.18.0

rocksdb_bzip2

Enables bzip2 of rocksdb ^0.18.0

long_benchmarks

Enables long benchmarks; does not influence main crate code.