Skip to content

Conversation

@JohnDoneth
Copy link
Contributor

It works but I'm not entirely happy with the amount of Box::pin and .as_mut combos. I'm assuming there's a more ergonomic way to go about Pin'ing types? Any suggestions or improvements will be gladly accepted.

Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

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

This is a good start! I left my comment inline.

[dev-dependencies]
tower = { version = "0.1.0", path = "../tower" }
futures-util-preview = "0.3.0-alpha.18"
futures-executor-preview = "0.3.0-alpha.18"
Copy link
Member

Choose a reason for hiding this comment

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

We should drop this dependency and use https://docs.rs/tokio-test/0.2.0-alpha.4/tokio_test/ which contains mock tasks.

Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

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

Thanks for doing this <3

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