Cargo Features

[dependencies]
suraft = { version = "0.1.0", default-features = false, features = ["failpoints", "default-logger"] }
default = default-logger

The default-logger feature is set by default whenever suraft is added without default-features = false somewhere in the dependency tree.

failpoints

Enables failpoints of fail

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?
slog-envlogger default-logger
slog-stdlog default-logger
slog-term default-logger