News for hackers. Stuff that matters.
Re:A four year plan for async Rust by kingofthehill98 on Tuesday November 07, 2023 @12:27PM (#38179831)
Every day we stray further from god.
Re:A four year plan for async Rust by gnulinux on Tuesday November 07, 2023 @05:04PM (#38183597)
This is the kind of thing you write once to abstract out async things in a function and call it a day. It really isn't that bad. Besides you can just use:

    smol::block_on(async {
        println!("I'm async!");
    });
if smol is an option.