[package]
edition = "2018"
name = "mio"
version = "0.7.14"
license = "MIT"
authors = [
"Carl Lerche <me@carllerche.com>",
"Thomas de Zeeuw <thomasdezeeuw@gmail.com>",
"Tokio Contributors <team@tokio.rs>",
]
description = "Lightweight non-blocking IO"
documentation = "https://docs.rs/mio/0.7.14"
homepage = "https://github.com/tokio-rs/mio"
repository = "https://github.com/tokio-rs/mio"
readme = "README.md"
keywords = ["io", "async", "non-blocking"]
categories = ["asynchronous"]
include = [
"Cargo.toml",
"LICENSE",
"README.md",
"CHANGELOG.md",
"src/**/*.rs",
"examples/**/*.rs",
]
[features]
default = []
os-poll = []
os-ext = ["os-poll"]
net = []
extra-docs = []
tcp = ["net"]
udp = ["net"]
uds = ["net"]
pipe = ["os-ext"]
os-util = ["os-ext"]
[dependencies]
log = "0.4.8"
[target.'cfg(unix)'.dependencies]
libc = "0.2.86"
[target.'cfg(windows)'.dependencies]
miow = "0.3.6"
winapi = { version = "0.3", features = ["winsock2", "mswsock", "mstcpip"] }
ntapi = "0.3"
[dev-dependencies]
env_logger = { version = "0.6.2", default-features = false }
rand = "0.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = [
"aarch64-apple-ios",
"aarch64-linux-android",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-sun-solaris",
"x86_64-unknown-dragonfly",
"x86_64-unknown-freebsd",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-netbsd",
"x86_64-unknown-openbsd",
]
[package.metadata.playground]
features = ["os-poll", "os-ext", "net"]
[[example]]
name = "tcp_server"
required-features = ["os-poll", "net"]
[[example]]
name = "udp_server"
required-features = ["os-poll", "net"]