Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

futures: replace pin_utils with pin_project #374

Merged
merged 1 commit into from
Oct 5, 2019
Merged

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Oct 5, 2019

This allows us to remove an unnecessary clone of the dispatcher or span
from poll impls. Also, it is commonly used in other crates (e.g.
tokio), so might make users' dependency graphs smaller.

Signed-off-by: Eliza Weisman eliza@buoyant.io

This allows us to remove an unnecessary clone of the dispatcher or span
from poll impls. Also, it is commonly used in other crates (e.g.
`tokio`), so might make users' dependency graphs smaller.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
@hawkw hawkw added crate/futures Related to the `tracing-futures` crate kind/perf Performance improvements labels Oct 5, 2019
@hawkw hawkw requested a review from LucioFranco October 5, 2019 20:35
@hawkw hawkw self-assigned this Oct 5, 2019
@hawkw hawkw added this to the tracing-futures 0.1 milestone Oct 5, 2019
@hawkw hawkw merged commit 47b6068 into master Oct 5, 2019
#[derive(Clone, Debug)]
pub struct WithDispatch<T> {
// cfg_attr doesn't work inside structs, apparently...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, this is related to the order of application of proc-macro (taiki-e/pin-project#68 (comment)). I will fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate/futures Related to the `tracing-futures` crate kind/perf Performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants