Recipes/🌐 Networking/Async Runtime
🌐

Async Runtime

expert

Tokio alternative - Build your own async executor

Tokio alternatifi - Kendi async calistiricini yap

Estimated Time
⏱️ 4-6 months
Essential Crates
📦 4

Tags

asyncruntimeexecutorio

Required Crates

Essential

mio
Async I/O primitives

Async I/O temelleri

crates.io →
mio = "0.8"
polling
Epoll/kqueue abstraction

Epoll/kqueue soyutlamasi

crates.io →
polling = "3"
async-task
Task spawning

Task olusturma

crates.io →
async-task = "4"
crossbeam
Concurrent data structures

Esanlik veri yapilari

crates.io →
crossbeam = "0.8"

Starter Template

Copy this Cargo.toml to get started:

[package]
name = "my-async-runtime"
version = "0.1.0"
edition = "2021"

[dependencies]
mio = "0.8"
polling = "3"
async-task = "4"
crossbeam = "0.8"
thiserror = "1"
tracing = "0.1"

Related Patterns

Learn these patterns to build this project effectively:

Other Networking Projects