Cargo Features
[dependencies]
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 whenevergrpcio-health
is added without
somewhere in the dependency tree.default-features = false - 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. These features may have been created by mistake, and this functionality may be removed in the future.
- prost prost-codec?
-
Enables prost ^0.11
- protobuf protobuf-codec
-
Enables protobuf ^2
- protobufv3 protobufv3-codec?
-
Enables protobuf