Cargo Features

ant-protocol has no features set by default.

[dependencies]
ant-protocol = { version = "0.3.1", features = ["rpc"] }
rpc = prost, tonic

Affects ant-protocol::antnode_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