You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saphir itself is still running on tokio 0.2.x, and it is not recommended to mix a tokio 0.2.x and a 0.3.x executor in the same project.
Even though 2.7.7 worked, I personally ran into other issues when using tokio 0.3.5, but everything was fine for me with tokio 0.2.22.
Saphir should eventually be upgraded to tokio 0.3.x, but it is a bit more work than a simple version bump because a lot of the TCP API changed in tokio 0.3.x.
(The issue you pointed out should and will be fixed, as it will be required to upgrade to 0.3.x anyways. I'm just adding a bit more context to the discussion)
@Samuel-B-D Thanks for the additional context but it is important to note that Saphir does not RUN on tokio 0.2.22, it uses Tokio 0.2 networking streams & futures. That being said, compatibility with the executor of Tokio 0.3 should be assured at least until fully updated to the newest version.
Description
The following simple code snippet fails on compilation when trying to use saphir 2.8.0 alongside with tokio 0.3.4
This code fails due to the following error:
However, on version 2.7.7 of saphir everything works as expected.
Expected behavior
The provided snippet can be run with saphir 2.8.0 the same way it works with saphir 2.7.7
Additional info (please complete the following information):
The text was updated successfully, but these errors were encountered: