41
submitted 3 years ago by Sibbo@sopuli.xyz to c/rust@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] words_number@programming.dev 2 points 3 years ago

It's actually not that hard to use async libraries in sync context. I rarely need that but if I do, I just pull in an executor and write a little extension trait for futures that lets me call .block() instead of .await.

this post was submitted on 09 Sep 2023
41 points (97.7% liked)

Rust Programming

9435 readers
1 users here now

founded 7 years ago
MODERATORS