Replies: 2 comments 3 replies
-
It sounds weird that it would only support smol? I don't see why a chip type would be tied to an async runtime. But no, there isn't any way to compat them. You can run both runtimes at the same time though. |
Beta Was this translation helpful? Give feedback.
3 replies
-
It is now possible to use tokio directly with the esp32 family of devices: https://github.com/jasta/esp32-tokio-demo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I write my binary crate with
tokio
, and now I want to run my program on ESP32 (a small IoT chip), but it only supportssmol
.I use
tokio::spawn
,tokio::sync::RwLock
,tokio::sync::broadcast
,tokio::io::{AsyncRead, AsyncWrite}
,tokio_util::codec::LengthDelimitedCodec
,tokio::select!
in my program.Is there some simple way to compat tokio and smol?
Beta Was this translation helpful? Give feedback.
All reactions