-
Notifications
You must be signed in to change notification settings - Fork 106
Can the async stuff be feasibly upstreamed? #80
Comments
Yes, there is. But I think it is a bit too early. For one, I've yet to see something meaningful implemented either by the community, or by me which is using these patches. For example, a pure rust async mqtt client. Or http client. Or http server. Once some of these things start popping up, I'll upstream. |
By the way - and if it is not clear - the "async" patches revolve around asynchronous networking. They basically (a) patch the If you don't explicitly require/use async networking (as in instead just using the available HTTP client and MQTT client from For example, |
With edge-net on the horizon, I've started upstreaming the async stuff. First patch that needs to happen is in libc itself: rust-lang/libc#2864 The patches to |
Hi! I recently got a couple ESP32-C3 boards. The project I have in mind would involve an HTTPS client (to send sensor data to a server, and i2c and BTLE to collect said data). I was thinking of using esp-idf for the wifi driver and the TCP implementation, but use Rust async + Hyper + rustls for HTTPS. I’m happy to try out patches. |
I'm also attempting upstreaming similar changes but for tokio support: tokio-rs/tokio#5867. The socket2 changes are the same, though. |
Both Closed. |
That's great news! |
Currently you maintain a bunch of downstream forks (which is great!) but I think it'd be even better if async with esp32 could just work out of the box with upstream libraries. Do you think there's a chance to get your work integrated upstream?
The text was updated successfully, but these errors were encountered: