As bytes v0.5 is not yet released we'll use the git version (using a fixed commit to reduce breakage).
48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
[package]
|
|
edition = "2018"
|
|
name = "mio"
|
|
# When releasing to crates.io:
|
|
# - Update html_root_url.
|
|
# - Update CHANGELOG.md.
|
|
# - Update doc URL.
|
|
# - Create git tag
|
|
version = "0.7.0"
|
|
license = "MIT"
|
|
authors = ["Carl Lerche <me@carllerche.com>"]
|
|
description = "Lightweight non-blocking IO"
|
|
documentation = "https://docs.rs/mio/0.7.0/mio/"
|
|
homepage = "https://github.com/tokio-rs/mio"
|
|
repository = "https://github.com/tokio-rs/mio"
|
|
readme = "README.md"
|
|
keywords = ["io", "async", "non-blocking"]
|
|
categories = ["asynchronous"]
|
|
exclude = [
|
|
".gitignore",
|
|
".travis.yml",
|
|
"deploy.sh",
|
|
]
|
|
publish = false
|
|
|
|
[features]
|
|
|
|
[dependencies]
|
|
log = "0.4.6"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2.58"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
miow = "0.3.3"
|
|
winapi = { version = "0.3", features = ["winsock2", "mswsock"] }
|
|
ntapi = "0.3"
|
|
lazy_static = "1.3.0"
|
|
|
|
[dev-dependencies]
|
|
# Bytes v0.4 still depends on winapi v0.2, but Bytes v0.5 is released yet. So
|
|
# for testing we'll use the git version.
|
|
bytes = { version = "0.5.0", git = "https://github.com/tokio-rs/bytes", rev = "79e4b2847f27137faaf149d116a352cbeae47fd1" }
|
|
env_logger = { version = "0.6.1", default-features = false }
|
|
slab = "0.4.2"
|
|
tempdir = "0.3.7"
|
|
net2 = "0.2.33"
|