I'm building an application using async_std but this returns an unresolved import error:
use async_std::sync::Sender;
After looking at the documentation for 1.8.0, it seems like async_std::sync
has been deprecated in favor of async_std::channel
. This was not the case in 1.7.0.
After updating to 1.8.0, I tried to replace use async_std::sync::Sender;
with use async_std::channel::Sender
.
The documentation seems to agree that it should work, but I still get an unresolved import error.
What am I missing?