Cargo Features
raft-consensus has no features set by default.
[dependencies]
raft-consensus = { version = "0.4.0", features = ["all", "use_serde", "use_capnp"] }
- all = use_capnp, use_serde
- use_serde all? = serde, serde_derive
- use_capnp all? = capnp, capnpc
-
Affects
raft-consensus::messages_capnp
…
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.
- serde use_serde?
- serde_derive use_serde?
- capnp use_capnp?
-
Enables capnp ^0.9
- capnpc build use_capnp?
-
Enables capnpc ^0.9