Cargo Features

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

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

protobuf-codec default = protobuf

Affects grpcio-compiler::codegen, util::to_camel_case

Required by the grpc_rust_plugin binary

prost-codec = derive-new, prost, prost-build, prost-types, tempfile

Affects grpcio-compiler::prost_codegen

Required by the grpc_rust_prost binary

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.

protobuf protobuf-codec

Enables protobuf ^2

prost prost-codec?

Enables prost ^0.11

prost-build prost-codec?

Enables prost-build ^0.11

prost-types prost-codec?

Enables prost-types ^0.11

derive-new prost-codec?

Enables derive-new ^0.5

tempfile prost-codec?