What is Nostr?
Mo :ferris: :tux: @ FOSDEM /
npub1j7f…mapy
2024-02-06 17:17:15

Mo :ferris: :tux: @ FOSDEM on Nostr: I wonder if people asking for or working on a sync version of an async API in a Rust ...

I wonder if people asking for or working on a sync version of an async API in a Rust crate know about pollster:

https://docs.rs/pollster

All what you need to do is call .block_on()

Function coloring is not a problem. You are welcome to argue.

#RustLang #Rust
Author Public Key
npub1j7fc87rk03whjh72mphc9hrm8zecfsdywdcscsesznwzcrasudvs75mapy