Cargo Features

sn_client has no features set by default.

[dependencies]
sn_client = { version = "0.110.4", features = ["local-discovery", "open-metrics", "test-utils", "websockets"] }
local-discovery

Enables local-discovery of sn_networking ^0.18.4

open-metrics = prometheus-client

Enables open-metrics of sn_networking ^0.18.4

test-utils = eyre, sn_peers_acquisition

Affects sn_client::test_utils

websockets

required to pass on flag to node builds

Enables websockets of sn_networking ^0.18.4 and sn_protocol

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.

prometheus-client open-metrics?
sn_peers_acquisition test-utils?
eyre test-utils?