{"repo":"smol-rs/smol","free":true,"listed":false,"github":"https://github.com/smol-rs/smol","clone":"git clone https://github.com/smol-rs/smol.git","description":"A small and fast async runtime for Rust","language":"Rust","stars":5035,"topics":["rust","async","networking","concurrency","futures","runtime"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"smol A small and fast async runtime. This crate simply re-exports other smaller async crates (see the source). To use tokio-based libraries with smol, apply the [ async-compat ] adapter to futures and I/O types. See the [ smol-macros ] crate if you want a no proc-macro, fast compiling, easy-to-use async main and/or multi-threaded Executor setup out of the box. Examples Connect to an HTTP website, make a GET request, and pipe the response to the standard output: There's a lot more in the [examples] directory. [ async-compat ]: https://docs.rs/async-compat/latest/async compat/ [ smol-macros ]: https://docs.rs/smol-macros/latest/smol macros/ [examples]: https://github.com/smol-rs/smol/tree/master/examples Subcrates - [async-channel] - Multi-producer multi-consumer channels - [async-executor] - Composable async executors - [async-fs] - Async filesystem primitives - [async-io] - Async adapter for I/O types, also timers - [async-lock] - Async locks (barrier, mutex, reader-writer lock, semaphore) - [async-net] - Async networking primitives (TCP/UDP/Unix) - [async-process] - Async interface for working with processes - [async-task] - Task abstraction for building executors - [blocking] - A thread pool for blocking I/O - [futures-lite] - A lighter fork of [futures] - [polling] - Portable interface to epoll, kqueue, event ports, and wepoll [async-io]: https://github.com/smol-rs/async-io [polling]: https://github.com/smol-rs/polling [nb-connect]: https://github.com/smol-rs/nb-connect [a","default_branch":null,"files":null,"tree":[],"storefront":"/r/smol-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/smol-rs/smol/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}