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

Enables serde of uuid ^0.5

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](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).

serde use_serde?
serde_derive use_serde?
capnp use_capnp?

Enables capnp ^0.9

capnpc build use_capnp?

Enables capnpc ^0.9