Introduce tracing
as a feature flag
#3304
Labels
B-breaking-change
Blocked: this is an "API breaking change".
C-feature
Category: feature. This is adding a new feature.
Is your feature request related to a problem? Please describe.
Downstream crates that use
hyper
have feature flagtracing
using which users can choose not to download tracing library or usetracing
. Ex: octocrab has this feature. Even though octocrab has this featuretracing
, thetracing
library anyway gets downloaded sincehyper
is a dependency of octocrab and hyper downloadstracing
libraries by default.Describe the solution you'd like
Hyper to hide
tracing
behind a feature flag. That way, downstream crates that usehyper
can choose not to havetracing
if needed.Describe alternatives you've considered
Downstream crates start using
tracing
by defaultAdditional context
By allowing
tracing
as a feature flag, users can opt out oftracing
and avoid having to downloadtracing
related librariesThe text was updated successfully, but these errors were encountered: