Cargo Features

sn_protocol has no features set by default.

[dependencies]
sn_protocol = { version = "0.17.15", features = ["websockets", "rpc"] }
websockets
rpc = prost, tonic

Affects sn_protocol::safenode_proto

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.

prost rpc?

Enables prost ^0.9

# watch out updating this, protoc compiler needs to be installed on all build systems
# arm builds + musl are very problematic
prost and tonic are needed for the RPC server messages, not the underlying protocol

tonic rpc?

Enables tonic ^0.6.2