tonic-build: Regression in generated code dependency surface area #683
Labels
A-build
C-bug
Category: Something isn't working
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-help-wanted
Call for participation: Help is requested to fix this issue.
Bug Report
6c898a2 appears have to introduced a regression of sorts in tonic-build: now that
futures_core
is explicitly referenced in generated code, code that would previously compile now fails with, e.g.:I assume that this means that applications need to pull in a dependency on
futures-core
explicitly? It seems preferable for tonic to re-export everything generated code depends on so that applications don't have to worry about these dependencies. I.e., generated code should depend on something like::tonic_codegen::Stream
The text was updated successfully, but these errors were encountered: