Cargo Features
[dependencies]
dgraph = { version = "0.4.0", default-features = false, features = ["with-serde", "compile-protobufs", "openssl", "openssl-vendored"] }
- default = with-serde
-
The
with-serde
feature is set by default wheneverdgraph
is added without
somewhere in the dependency tree.default-features = false - with-serde default
- compile-protobufs = protoc-grpcio
-
Required by the protoc binary
- openssl
-
Enables openssl of grpcio ^0.6.0
- openssl-vendored
-
Enables openssl-vendored of grpcio ^0.6.0
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.