{"repo":"tokio-rs/mio","free":true,"listed":false,"github":"https://github.com/tokio-rs/mio","clone":"git clone https://github.com/tokio-rs/mio.git","description":"Metal I/O library for Rust.","language":"Rust","stars":7080,"topics":["rust","non-blocking","asynchronous","networking"],"license":"MIT","category":"networking-infra","readme_excerpt":"Mio – Metal I/O Mio is a fast, low-level I/O library for Rust focusing on non-blocking APIs and event notification for building high performance I/O apps with as little overhead as possible over the OS abstractions. [![Crates.io][crates-badge]][crates-url] [![MIT licensed][mit-badge]][mit-url] [![Build Status][actions-badge]][actions-url] [crates-badge]: https://img.shields.io/crates/v/mio.svg [crates-url]: https://crates.io/crates/mio [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg [mit-url]: LICENSE [actions-badge]: https://github.com/tokio-rs/mio/workflows/CI/badge.svg [actions-url]: https://github.com/tokio-rs/mio/actions?query=workflow%3ACI+branch%3Amaster API documentation v1 v0.8 This is a low level library, if you are looking for something easier to get started with, see Tokio. Usage To use mio , first add this to your Cargo.toml : Next we can start using Mio. The following is a quick introduction using TcpListener and TcpStream . Note that features = [\"os-poll\", \"net\"] must be specified for this example. Features Non-blocking TCP, UDP, UDS I/O event queue backed by epoll, kqueue, and IOCP Zero allocations at runtime Platform specific extensions Non-goals The following are specifically omitted from Mio and are left to the user or higher-level libraries. File operations Thread pools / multi-threaded event loop Timers Platforms Currently supported platforms: Android (API level 21) DragonFly BSD FreeBSD Linux NetBSD OpenBSD WASI Windows Wine iOS macOS Sola","default_branch":null,"files":null,"tree":[],"storefront":"/r/tokio-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tokio-rs/mio/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."}