Cargo Features

grpcio = { version = "0.13.0", default-features = false, features = ["protobuf-codec", "protobufv3-codec", "prost-codec", "nightly", "boringssl", "openssl", "openssl-vendored", "no-omit-frame-pointer"] }
default = boringssl, protobuf-codec

These default features are set whenever grpcio is added without default-features = false somewhere in the dependency tree.

protobuf-codec default = protobuf

Affects codec::pb_codec

protobufv3-codec = protobufv3

Affects codec::pb_codec

prost-codec = bytes, prost

Affects codec::pr_codec

boringssl default

Enables boringssl of grpcio-sys


Enables openssl of grpcio-sys


Enables openssl-vendored of grpcio-sys


Enables no-omit-frame-pointer of grpcio-sys

Features from optional dependencies

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

protobuf protobuf-codec

Enables protobuf ^2.0

protobufv3 protobufv3-codec?

Enables protobuf

prost prost-codec?

Enables prost ^0.11

bytes prost-codec?