Cargo Features

[dependencies]
tower-grpc = { version = "0.1.1", default-features = false, features = ["protobuf", "tower-hyper"] }
default = protobuf

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

protobuf default = prost

Affects tower-grpc::server, tower-grpc::codegen

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.

tower-hyper implicit feature

Enables tower-hyper

tower-hyper:

A hyper based tower transport layer

Affects codegen::server.tower_hyper

prost protobuf

Enables prost ^0.5

For protobuf