Cargo Features
[dependencies]
sn_cli = { version = "0.95.3", default-features = false, features = ["distribution", "local-discovery", "metrics", "network-contacts", "open-metrics"] }
- default = metrics
-
The
metrics
feature is set by default wheneversn_cli
is added without
somewhere in the dependency tree.default-features = false - distribution = base64, bitcoin
-
Affects
helpers::get_faucet
,helpers::get_faucet_distribution
… - local-discovery
-
Enables local-discovery of sn_client and sn_peers_acquisition
- metrics default
-
Enables process-metrics of sn_logging
- network-contacts
-
Enables network-contacts of sn_peers_acquisition
- open-metrics
-
Enables open-metrics of sn_client
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.
- base64 distribution?
- bitcoin distribution?
-
Enables bitcoin ^0.31.0