Cargo Features

[dependencies]
grpcio-proto = { 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-proto is added without default-features = false somewhere in the dependency tree.

protobuf-codec default = protobuf

Enables protobuf-codec of grpcio

Affects proto::protobuf

protobufv3-codec = protobufv3

Enables protobufv3-codec of grpcio

Affects proto::protobuf

prost-codec = bytes, lazy_static, prost, prost-build, prost-derive, prost-types

Enables prost-codec of grpcio

Affects proto::prost

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.

bytes prost-codec?
prost prost-codec?

Enables prost ^0.11

prost-derive prost-codec?

Enables prost-derive ^0.11

prost-types prost-codec?

Enables prost-types ^0.11

protobuf protobuf-codec

Enables protobuf ^2

protobufv3 protobufv3-codec?

Enables protobuf

lazy_static prost-codec?
prost-build build prost-codec?

Enables prost-build ^0.11