Cargo Features
[dependencies]
datacake = { version = "0.7.1", default-features = false, features = ["rkyv", "simulation", "test-utils", "datacake-sqlite", "datacake-node", "datacake-lmdb"] }
- default = datacake-crdt, datacake-eventual-consistency, datacake-node, datacake-rpc
-
These default features are set whenever
datacake
is added without
somewhere in the dependency tree.default-features = false - rkyv
-
Enables rkyv-support of datacake-crdt
datacake-crdt:
Enables (de)serialization support for all data types.
- simulation
-
Enables simulation of datacake-rpc
datacake-rpc:
Enable turmoil simulation for testing.
- test-utils
-
Enables test-utils of datacake-eventual-consistency
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.
- datacake-crdt default rkyv?
- datacake-eventual-consistency default test-utils?
- datacake-sqlite implicit feature
-
Enables datacake-sqlite
datacake-sqlite:
A pre-built implementation of datacake's Storage trait using SQLite
- datacake-rpc default simulation?
- datacake-node default
- datacake-lmdb implicit feature
-
Enables datacake-lmdb
datacake-lmdb:
A pre-built implementation of datacake's Storage trait using LMDB