Cargo Features

sn_cli = { version = "0.91.0-alpha.1", default-features = false, features = ["distribution", "local-discovery", "metrics", "network-contacts", "open-metrics"] }
default = metrics

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

distribution = base64, bitcoin

Affects helpers::get_faucet, helpers::get_faucet_distribution


Enables local-discovery of sn_client and sn_peers_acquisition

metrics default

Enables process-metrics of sn_logging


Enables network-contacts of sn_peers_acquisition


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?