Cargo Features
[dependencies]
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
somewhere in the dependency tree.default-features = false - protobuf-codec default = protobuf
-
Affects
codec::pb_codec
… - protobufv3-codec = protobufv3
-
Affects
codec::pb_codec
… - prost-codec = bytes, prost
-
Affects
codec::pr_codec
… - nightly
- boringssl default
-
Enables boringssl of grpcio-sys
- openssl
-
Enables openssl of grpcio-sys
- openssl-vendored
-
Enables openssl-vendored of grpcio-sys
- no-omit-frame-pointer
-
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. These features may have been created by mistake, and this functionality may be removed in the future.
- protobuf protobuf-codec
-
Enables protobuf ^2.0
- protobufv3 protobufv3-codec?
-
Enables protobuf
- prost prost-codec?
-
Enables prost ^0.11
- bytes prost-codec?