Cargo Features

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

These default features are set whenever exonum-merkledb is added without default-features = false somewhere in the dependency tree.

with-protobuf default = exonum-proto, protobuf, with-serde

Affects exonum-merkledb::proto

with-serde with-protobuf
rocksdb_snappy default

Compression options passed to RocksDB backend.

Enables snappy of rocksdb ^0.13

rocksdb_lz4

Enables lz4 of rocksdb ^0.13

rocksdb_zlib

Enables zlib of rocksdb ^0.13

rocksdb_zstd

Enables zstd of rocksdb ^0.13

rocksdb_bzip2

Enables bzip2 of rocksdb ^0.13

long_benchmarks

Enables long benchmarks; does not influence main crate code.

yolo

Enables unsafe optimizations / experimental features. Strongly discouraged for use in production.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

exonum-proto with-protobuf
protobuf with-protobuf

Enables protobuf ^2.8.1