Cargo Features

[dependencies]
fleetfs_raft = { version = "0.6.0", default-features = false, features = ["failpoints", "protobuf-codec", "prost-codec", "default-logger"] }
default = default-logger, protobuf-codec

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

failpoints

Enable failpoints

Enables failpoints of fail ^0.4

protobuf-codec default = bytes

Enables protobuf-codec of raft-proto ^0.6.0

prost-codec

Enables prost-codec of raft-proto ^0.6.0

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.

bytes protobuf-codec
fail failpoints?

Enables fail ^0.4

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