Skip to content
wildberries-techPublic

About

Async Rust runtime with io_uring

Resources

Stars

27 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arctic Runtime

Arctic is an asynchronous Rust runtime for Linux built on io_uring.

  • Local task scheduling with support for !Send futures.
  • TCP, UDP and file I/O with owned buffers.
  • Timers and timeouts.

Requires Linux with io_uring enabled.

Quick start

use arctic_rt::{Result, block_on, spawn};

fn main() -> Result<()> {
    block_on(async {
        let task = spawn(async { "Hello from Arctic!" })?;
        println!("{}", task.await?);
        Ok(())
    })?
}

Run an example from the workspace root:

cargo run -p arctic-rt --example basic

See examples for TCP echo, UDP, file copying and timers.

License

MIT.

About

Async Rust runtime with io_uring

Resources

Stars

27 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages