smol/README.md

1.0 KiB

Features

NOTE: Not everything in this list is true yet. WIP :)

  • Small - Single file under 1000 lines of code.
  • Fast - On par with async-std and Tokio.
  • Safe - Written fully in safe Rust.
  • Documented - Easy to understand and tweak for custom use cases.
  • Portable - Works on Linux, Android, macOS, iOS, and Windows.
  • Lightweight - Built from scratch, hooks directly into epoll/kqueue/wepoll.
  • Networking - TCP, UDP, Unix domain sockets, and custom files/sockets.
  • Executor - Configurable workers with work stealing, supports non-send futures.
  • Blocking - Thread pool for isolating blocking code.
  • Timer - Efficient userspace timers.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.