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 whenevertower-grpc
is added without
somewhere in the dependency tree.default-features = false - 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