Closed AqlaSolutions closed 3 years ago
futures-mio="0.1" futures-tls="0.1"
These two are very old and are no longer maintained (and probably broken). You should probably be able to compile your project if you remove them.
I'm trying to follow a tutorial though it's pretty old https://github.com/rust-lang/futures-rs/blob/6a1950e6cd91cb7fd4f27b19d0090f81dc957a05/TUTORIAL.md#hello-world
It need the Loop
and also ClientContext
from TLS, are there any replacements?
Also how can I learn about futures-rs features nowadays, is there any tutorial or examples available? I saw only one example at the main documentation page but it doesn't cover enough.
It need the
Loop
and alsoClientContext
from TLS, are there any replacements?
futures-mio was replaced by tokio, futures-tls was replaced by tokio-tls.
Also how can I learn about futures-rs features nowadays, is there any tutorial or examples available? I saw only one example at the main documentation page but it doesn't cover enough.
async book provides tutorial for the current futures-rs and std::future. (For tokio, see tokio's tutorial.)
When I add futures-io as a dependency, my project can't be compiled: