Cargo Features
[dependencies]
raftify = { version = "0.1.82", default-features = false, features = ["inmemory_storage", "heed_storage", "rocksdb_storage", "tls"] }
- default = heed_storage, tls
-
These default features are set whenever
raftify
is added without
somewhere in the dependency tree.default-features = false - inmemory_storage
-
Affects
storage::inmemory_storage
… - heed_storage default = heed, heed-traits
-
Affects
storage::heed_storage
… - rocksdb_storage = rocksdb
-
Affects
storage::rocksdb_storage
… - tls default
-
Enables tls of tonic ^0.9.2
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.