Cargo Features

[dependencies]
sonya-proxy = { version = "0.4.2", default-features = false, features = ["etcd", "api"] }
default = api, etcd

These default features are set whenever sonya-proxy is added without default-features = false somewhere in the dependency tree.

etcd default = etcd-client

Affects service_discovery::etcd

api default

Affects service_discovery::api

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