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