Cargo Features
[dependencies]
nimiq-client = { version = "0.2.0", default-features = false, features = ["all", "rpc-server", "metrics-server", "deadlock-detection", "system-install"] }
- default = all
-
The
all
feature is set by default whenevernimiq-client
is added without
somewhere in the dependency tree.default-features = false - all default = deadlock-detection, human-panic, metrics-server, rpc-server
- rpc-server all = nimiq-rpc-server
- metrics-server all = nimiq-metrics-server
- deadlock-detection all = parking_lot
- system-install
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.