-
Notifications
You must be signed in to change notification settings - Fork 224
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
Upgrade Tokio to version 0.3.0 #681
Conversation
3bad70e
to
71725d2
Compare
It'd be really helpful if we could get another It's a breaking change to TMKMS to upgrade Tokio and we haven't done it yet, and we need to be able to test Stargate upgrades with production keys ASAP. |
Sure - I'd say we should target v0.17.0-rc4 to upgrade Tokio 👍 (rc3 will release the fix for #679) |
0259dde
to
447bfa0
Compare
Codecov Report
@@ Coverage Diff @@
## master #681 +/- ##
======================================
Coverage 39.4% 39.5%
======================================
Files 191 191
Lines 12595 12592 -3
Branches 3234 3229 -5
======================================
+ Hits 4974 4981 +7
+ Misses 7284 7274 -10
Partials 337 337
Continue to review full report at Codecov.
|
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.
👍
@@ -53,14 +54,19 @@ pub trait SubscriptionClient { | |||
/// ``` | |||
/// | |||
/// [`Event`]: ./event/struct.Event.html | |||
#[pin_project] |
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 this! 👍 I was wondering when this was going to become necessary 😁
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.
FWIW, I initially did it the unsafe and manual way, but that unsafe block kept me most of the following night, so I figured I'd rather trust a real Rust dev and take the (admittedly very small) compile-time + code size penalty with pin-project
.
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.
Before/after: 7c8f444
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.
Looks awesome! 👍
As a temporary workaround, the PR informalsystems/hermes#364 depends on branch |
Close: #683
Target: v0.17.0-rc4
async-tungstenite
: 0.8 => 0.10hyper
: 0.13 => 0.14.0-dev (development version)