-
Notifications
You must be signed in to change notification settings - Fork 319
Update tower-test to std::future::Future #316
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
Conversation
LucioFranco
left a comment
There was a problem hiding this 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" |
There was a problem hiding this comment.
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.
LucioFranco
left a comment
There was a problem hiding this 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
It works but I'm not entirely happy with the amount of
Box::pinand.as_mutcombos. I'm assuming there's a more ergonomic way to go aboutPin'ing types? Any suggestions or improvements will be gladly accepted.