gecko-dev/third_party/rust/mio-uds
Servo VCS Sync 9081891317 No bug - Revendor rust dependencies 2018-01-22 23:25:01 +00:00
..
src
tests
.cargo-checksum.json No bug - Revendor rust dependencies 2018-01-22 23:25:01 +00:00
.travis.yml
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

mio-uds

Build Status

Documentation

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.

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

Usage

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

mio-uds is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.