Cargo Features
[dependencies]
protobuf-build = { version = "0.15.1", default-features = false, features = ["protobuf-codec", "grpcio-protobuf-codec", "prost-codec", "grpcio-prost-codec"] }
- default = protobuf-codec
-
The
protobuf-codec
feature is set by default wheneverprotobuf-build
is added without
somewhere in the dependency tree.default-features = false - protobuf-codec default grpcio-protobuf-codec? = protobuf-codegen
-
Enables with-bytes of protobuf ^2
- grpcio-protobuf-codec = protobuf-codec
-
Enables protobuf-codec of grpcio-compiler
- prost-codec grpcio-prost-codec? = proc-macro2, prost-build, quote, syn
- grpcio-prost-codec = prost-codec
-
Enables prost-codec of grpcio-compiler
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.