Tokio runtime error #3057
Answered
by
carllerche
kryptiksage
asked this question in
Q&A
-
I'm new to rust and tried to use reqwest (with async) .This is the error I'm getting. What am i doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
carllerche
Oct 27, 2020
Replies: 1 comment 2 replies
-
You are probably mixing tokio versions. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kryptiksage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are probably mixing tokio versions.
reqwest
uses Tokio 0.2 still. You can stick w/ Tokio 0.2 until reqest updates or try out the compat shim: https://github.com/LucioFranco/tokio-compat-02/