Cargo Features
[dependencies]
sonya = { version = "0.4.2", default-features = false, features = ["etcd", "api"] }
- default = api, etcd
-
These default features are set whenever
sonya
is added without
somewhere in the dependency tree.default-features = false - etcd default = etcd-client
-
Affects
service_discovery::etcd
… - api default
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.
- etcd-client etcd
-
Enables etcd-client ^0.7