Cargo Features

[dependencies]
matterdb = { version = "1.2.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 matterdb 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.15

rocksdb_lz4

Enables lz4 of rocksdb ^0.15

rocksdb_zlib

Enables zlib of rocksdb ^0.15

rocksdb_zstd

Enables zstd of rocksdb ^0.15

rocksdb_bzip2

Enables bzip2 of rocksdb ^0.15

long_benchmarks

Enables long benchmarks; does not influence main crate code.