Cargo Features

[dependencies]
raft-engine = { version = "0.4.2", default-features = false, features = ["internals", "nightly", "failpoints", "scripting", "swap", "std_fs", "nightly_group"] }
default = internals, scripting

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

internals default

Affects raft-engine::internals

nightly nightly_group? swap?

Enables nightly of prometheus

failpoints

Enables failpoints of fail

scripting default = rhai
swap nightly_group? = memmap2, nightly
std_fs
nightly_group = nightly, swap

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.

memmap2 swap?
rhai scripting