Cargo Features
sn_client has no features set by default.
[dependencies]
sn_client = { version = "0.106.0-alpha.5", features = ["local-discovery", "open-metrics", "test-utils", "websockets"] }
- local-discovery
-
Enables local-discovery of sn_networking
- open-metrics = prometheus-client
-
Enables open-metrics of sn_networking
- test-utils = eyre, lazy_static, sn_peers_acquisition
-
Affects
sn_client::test_utils
… - websockets
-
required to pass on flag to node builds
Enables websockets of sn_networking 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.