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
somewhere in the dependency tree.default-features = false - 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.