Cargo Features
sn_networking has no features set by default.
[dependencies]
sn_networking = { version = "0.19.5", features = ["local", "upnp", "websockets", "open-metrics", "loud"] }
- local
- upnp
- websockets
-
tcp is automatically enabled when compiling for wasm32
Enables libp2p
- open-metrics = hyper, prometheus-client, sysinfo
- encrypt-records loud
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.
- hyper open-metrics?
-
Enables hyper ^0.14
- prometheus-client open-metrics?
- sysinfo open-metrics?
-
Enables sysinfo ^0.30.8