Skip to content

Conversation

@hawkw
Copy link
Member

@hawkw hawkw commented Jan 11, 2022

Currently, the documentation states in a few places that the
tracing-futures crate is required for asynchronous code to use
tracing. This is no longer the case, as tracing provides the
Instrument combinator for futures; tracing-futures is only needed
for things defined in the futures crate, such as Stream and Sink.

This branch updates the documentation so that it doesn't incorrectly
state that tracing-futures is required.

Currently, the documentation states in a few places that the
`tracing-futures` crate is required for asynchronous code to use
`tracing`. This is no longer the case, as `tracing` provides the
`Instrument` combinator for futures; `tracing-futures` is only needed
for things defined in the `futures` crate, such as `Stream` and `Sink`.

This branch updates the documentation so that it doesn't incorrectly
state that `tracing-futures` is required.
@hawkw hawkw requested a review from davidbarsky January 11, 2022 21:35
@hawkw hawkw requested a review from a team as a code owner January 11, 2022 21:35
@hawkw hawkw merged commit feb3479 into master Jan 11, 2022
@hawkw hawkw deleted the eliza/remove-futures-ref branch January 11, 2022 21:48
hawkw added a commit that referenced this pull request Jan 14, 2022
Currently, the documentation states in a few places that the
`tracing-futures` crate is required for asynchronous code to use
`tracing`. This is no longer the case, as `tracing` provides the
`Instrument` combinator for futures; `tracing-futures` is only needed
for things defined in the `futures` crate, such as `Stream` and `Sink`.

This branch updates the documentation so that it doesn't incorrectly
state that `tracing-futures` is required.
hawkw added a commit that referenced this pull request Jan 14, 2022
Currently, the documentation states in a few places that the
`tracing-futures` crate is required for asynchronous code to use
`tracing`. This is no longer the case, as `tracing` provides the
`Instrument` combinator for futures; `tracing-futures` is only needed
for things defined in the `futures` crate, such as `Stream` and `Sink`.

This branch updates the documentation so that it doesn't incorrectly
state that `tracing-futures` is required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants