8 releases

Uses old Rust 2015

0.6.8 May 1, 2020
0.6.7 Sep 4, 2018
0.6.6 May 5, 2018
0.6.4 Apr 13, 2017
0.6.0 Sep 2, 2016

#1017 in Asynchronous

Download history 34549/week @ 2024-06-19 36298/week @ 2024-06-26 32377/week @ 2024-07-03 37036/week @ 2024-07-10 36772/week @ 2024-07-17 34669/week @ 2024-07-24 33106/week @ 2024-07-31 46492/week @ 2024-08-07 25040/week @ 2024-08-14 37075/week @ 2024-08-21 33526/week @ 2024-08-28 36883/week @ 2024-09-04 30507/week @ 2024-09-11 31043/week @ 2024-09-18 43268/week @ 2024-09-25 41888/week @ 2024-10-02

154,777 downloads per month
Used in 780 crates (17 directly)

MIT/Apache

29KB
509 lines

mio-uds

A library for integrating Unix Domain Sockets with mio. Based on the standard library's support for Unix sockets, except all of the abstractions and types are nonblocking to conform with the expectations of mio.

Build Status Documentation

mio-uds is Deprecated

With the 0.7 release, mio now includes native support for Unix Domain Sockets. Consumers should switch to that functionality when updating their mio dependency to the 0.7.x series.

Usage

# Cargo.toml
[dependencies]
mio-uds = "0.6"
mio = "0.6"

The three exported types at the top level, UnixStream, UnixListener, and UnixDatagram, are thin wrappers around the libstd counterparts. They can be used in similar fashions to mio's TCP and UDP types in terms of registration and API.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.6–1MB
~14K SLoC