Cargo Features

grpcio-health = { version = "0.13.0", default-features = false, features = ["protobuf-codec", "protobufv3-codec", "prost-codec"] }
default = protobuf-codec

The protobuf-codec feature is set by default whenever grpcio-health is added without default-features = false somewhere in the dependency tree.

protobuf-codec default = protobuf

Enables protobuf-codec of grpcio

protobufv3-codec = protobufv3

Enables protobufv3-codec of grpcio

prost-codec = prost

Enables prost-codec of grpcio

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

prost prost-codec?

Enables prost ^0.11

protobuf protobuf-codec

Enables protobuf ^2

protobufv3 protobufv3-codec?

Enables protobuf