slings 0.3.47

A small async runtime based on io-uring for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::io;
use std::time::Duration;

use slings::time::delay_for;

fn main() -> io::Result<()> {
    slings::block_on(async {
        delay_for(Duration::from_secs(1)).await;
    });
    Ok(())
}