Cargo Features
[dependencies]
summa-proto = { version = "0.36.1", default-features = false, features = ["grpc"] }
- default = grpc
-
The
grpc
feature is set by default wheneversumma-proto
is added without
somewhere in the dependency tree.default-features = false - grpc default = tonic, tonic-build, tonic-reflection
-
Affects
summa-proto::proto.FILE_DESCRIPTOR_SET
…
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.
- tonic grpc
-
Enables tonic ^0.10
- tonic-build grpc
-
Enables tonic-build ^0.10
- tonic-reflection grpc
-
Enables tonic-reflection ^0.10