| What it is | A runtime for writing reliable asynchronous applications with Rust | A small and fast async runtime for Rust | A thread-per-core async runtime for Rust and Linux, built on io_uring | Cross-platform asynchronous I/O |
| Features | - multithreaded work-stealing scheduler and a current-thread runtime
- reactor on epoll, kqueue and IOCP
- async TCP, UDP and Unix domain sockets
- timers: sleep, timeout, interval
- channels: oneshot, mpsc, watch, broadcast; async Mutex, RwLock, Semaphore, Barrier
- async file system, process and signal APIs
- spawn_blocking thread pool for blocking and CPU-bound work
- #[tokio::main] and #[tokio::test] macros
- All 13 features
| - re-exports async-channel, async-executor, async-fs, async-io, async-lock, async-net, async-process, async-task, blocking, futures-lite and polling
- I/O on epoll, kqueue, event ports and wepoll
- timers through async-io
- blocking thread pool for blocking I/O
- works with Tokio-based libraries through the async-compat adapter
- smol-macros for an async main and a multi-threaded executor without proc macros
- MSRV policy follows the Rust version in Debian stable (currently 1.85)
| - cooperative thread-per-core executors
- no helper threads: I/O goes through io_uring
- async file and network I/O
- built on Rust async/await, like other Rust async runtimes
| - event loop backed by epoll, kqueue, IOCP and event ports
- asynchronous TCP and UDP sockets
- asynchronous DNS resolution
- asynchronous file and file system operations
- file system events
- child processes and IPC with socket sharing (Unix domain sockets or named pipes)
- thread pool
- signal handling, TTY control and a high resolution clock
- All 9 features
|