Smol re-exports small async crates for executors, networking, timers, and locks, offering a lightweight alternative runtime surface for Rust programs.
Overview
Smol aggregates the smol-rs ecosystem into one crate entry point, covering channels, executors, async filesystem and networking helpers, locks, process wrappers, and futures-lite utilities. It targets developers who want a minimal async stack without pulling in larger runtimes.
Documentation shows composing async-io, async-net, and executor pieces for HTTP clients, timers, and concurrent tasks. The async-compat adapter helps run tokio-based libraries on smol when needed, and smol-macros can wire up async main helpers with less boilerplate.
Subcrates remain usable independently for fine-grained dependency graphs. The project documents MSRV policy aligned with Debian Stable Rust versions and ships examples plus TLS testing certificates for local demos only.
Choose it when embedding a small-footprint async runtime in Rust services, tools, or prototypes that benefit from modular crate boundaries.
Key features
- Unified re-export of smol crates
- Async TCP/UDP and Unix sockets
- Async filesystem primitives
- Executor and task abstractions
- futures-lite compatibility
- async-compat for Tokio crates
- Optional smol-macros helpers
- Documented subcrate split
Use cases
- Lightweight Rust async services
- Embed executor in binaries
- Prototype async networking tools
- Mix smol with Tokio libraries