Cargo Features
Locky has no features set by default.
[dependencies]
locky = { version = "0.0.1", features = ["build-protos", "tls-webpki-roots"] }
- default
-
These default features are set whenever
locky
is added without
somewhere in the dependency tree.default-features = false Enables tls-roots of tonic ^0.11.0
tonic:
Deprecated. Please use
tls-native-roots
instead. - build-protos = tonic-build
-
Required by the build_protos binary
- tls-webpki-roots
-
Enables tls-webpki-roots of tonic ^0.11.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.
- tonic-build build-protos?
-
Enables tonic-build ^0.11.0