gecko-dev/third_party/rust/mio-uds
Dan Glastonbury f1e1b786c6 Bug 1391523 - P5: Compile in audioipc crates. r=kamidphish
MozReview-Commit-ID: 6BC0fu1rrEE

--HG--
extra : rebase_source : b986541c97eee9eaa70bbc54ccfcd63b2d3fa006
2017-08-11 12:41:35 +10:00
..
src
tests
.cargo-checksum.json
.cargo-ok
.travis.yml
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
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.