Various quinn* crates depend on tracing. tracing in its default feature set includes tracing-attributes in order to expose #[instrument] procedural macro in tracing::instrument.
None of quinn* make use of the #[instrument] macro. Thus the tracing-attributes dependency is unused.
To remove the dependency from the tree, this commit:
Restricts tracing's features to std, effectively removing the attributes feature.
Consolidates the various tracing* imports across quinn* crates into workspace dependencies.
Let me know if you don't want to use workspace dependencies?
Context:
Mozilla is currently using NSPR to send and receive QUIC datagrams.
Various
quinn*
crates depend ontracing
.tracing
in its default feature set includestracing-attributes
in order to expose#[instrument]
procedural macro intracing::instrument
.None of
quinn*
make use of the#[instrument]
macro. Thus thetracing-attributes
dependency is unused.To remove the dependency from the tree, this commit:
tracing
'sfeatures
tostd
, effectively removing theattributes
feature.tracing*
imports acrossquinn*
crates into workspace dependencies.Let me know if you don't want to use workspace dependencies?
Context:
quinn-udp
, see https://github.com/quinn-rs/quinn/issues/1749.tracing-attributes
) the better.As always, thank you for this project!