etcdv3 / etcd-client

An etcd v3 API client
Apache License 2.0
210 stars 51 forks source link

Default feature set of tonic #60

Closed gmilleramilar closed 1 year ago

gmilleramilar commented 1 year ago

etcd-client depends on tonic using its default features:

[dependencies]
tonic = "0.9.2"

The default features of tonic include A LOT of transitive dependencies, specifically a lot of it comes in through hyper. Would it be possible to put any of that in a feature gate for etcd-client? I don't know enough about how tonic is used to be able to say.

davidli2010 commented 1 year ago

The answer is impossible. The default features of tonic are default = ["transport", "codegen", "prost"], and we need all of them.