Cargo Features

[dependencies]
jopemachine-raft = { version = "0.7.14", default-features = false, features = ["failpoints", "protobuf-codec", "prost-codec", "default-logger"] }
default = default-logger, protobuf-codec

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

failpoints

Enable failpoints

Enables failpoints of fail ^0.4

protobuf-codec default

Enables protobuf-codec of raft-proto

prost-codec

Enables prost-codec of raft-proto

default-logger default = slog-envlogger, slog-stdlog, slog-term

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.

Make sure to synchronize updates with Harness.

fail failpoints?

Enables fail ^0.4

slog-envlogger default-logger
slog-stdlog default-logger
slog-term default-logger