Files
tokio/tokio-net/Cargo.toml
T

116 lines
2.8 KiB
TOML
Raw Normal View History

[package]
name = "tokio-net"
# When releasing to crates.io:
# - Remove path dependencies
# - Update html_root_url.
# - Update doc url
2019-01-06 23:25:55 -08:00
# - Cargo.toml
# - Update CHANGELOG.md.
2019-05-14 10:27:36 -07:00
# - Create "v0.2.x" git tag.
2019-08-29 12:59:10 -07:00
version = "0.2.0-alpha.4"
2019-05-14 10:27:36 -07:00
edition = "2018"
authors = ["Tokio Contributors <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
2019-08-29 12:59:10 -07:00
documentation = "https://docs.rs/tokio-net/0.2.0-alpha.4/tokio_net"
description = """
Event loop that drives Tokio I/O resources.
"""
categories = ["asynchronous", "network-programming"]
2019-08-15 20:37:25 -07:00
[features]
async-traits = []
process = [
"crossbeam-queue",
"libc",
"mio-named-pipes",
"signal",
"winapi/handleapi",
"winapi/winerror",
"winapi/minwindef",
"winapi/processthreadsapi",
"winapi/synchapi",
"winapi/threadpoollegacyapiset",
"winapi/winbase",
"winapi/winnt",
]
2019-08-17 13:43:55 -07:00
signal = [
"mio-uds",
"libc",
"signal-hook-registry",
"winapi/consoleapi",
"winapi/minwindef",
"winapi/wincon"
2019-08-17 13:43:55 -07:00
]
2019-08-15 20:37:25 -07:00
tcp = [
"bytes",
"iovec",
]
2019-08-16 07:26:10 -07:00
udp = [
"bytes",
"futures-sink-preview",
]
2019-08-16 14:42:05 -07:00
uds = [
"bytes",
"mio-uds",
"iovec",
"libc",
]
2019-08-27 17:53:57 -07:00
log = ["tracing/log"]
2019-08-15 20:37:25 -07:00
[dependencies]
2019-08-29 12:59:10 -07:00
tokio-codec = { version = "=0.2.0-alpha.4", path = "../tokio-codec" }
tokio-executor = { version = "=0.2.0-alpha.4", features = ["blocking"], path = "../tokio-executor" }
tokio-io = { version = "=0.2.0-alpha.4", path = "../tokio-io" }
tokio-sync = { version = "=0.2.0-alpha.4", path = "../tokio-sync" }
2019-08-15 20:37:25 -07:00
2019-08-27 17:53:57 -07:00
tracing = { version = "0.1.5", optional = true }
2019-08-15 20:37:25 -07:00
# driver implementation
2018-11-10 04:39:09 -05:00
crossbeam-utils = "0.6.0"
2019-08-15 20:37:25 -07:00
futures-core-preview = "=0.3.0-alpha.18"
futures-util-preview = "=0.3.0-alpha.18"
lazy_static = "1.0.2"
2018-03-09 21:25:16 +01:00
mio = "0.6.14"
num_cpus = "1.8.0"
parking_lot = "0.9"
slab = "0.4.0"
2019-08-15 20:37:25 -07:00
2019-08-16 07:26:10 -07:00
# TCP / UDP
2019-08-15 20:37:25 -07:00
bytes = { version = "0.4", optional = true }
2019-08-16 07:26:10 -07:00
futures-sink-preview = { version = "=0.3.0-alpha.18", optional = true }
2019-08-15 20:37:25 -07:00
iovec = { version = "0.1", optional = true }
2019-08-16 14:42:05 -07:00
[target.'cfg(unix)'.dependencies]
2019-08-17 13:43:55 -07:00
# UDS / Signal
crossbeam-queue = { version = "0.1.2", optional = true }
2019-08-16 14:42:05 -07:00
mio-uds = { version = "0.6.5", optional = true }
libc = { version = "0.2.42", optional = true }
2019-08-17 13:43:55 -07:00
signal-hook-registry = { version = "~1", optional = true }
[target.'cfg(windows)'.dependencies]
mio-named-pipes = { version = "0.1", optional = true }
2019-08-17 13:43:55 -07:00
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3"
default-features = false
2019-08-17 13:43:55 -07:00
optional = true
2019-08-16 14:42:05 -07:00
2019-08-27 17:53:57 -07:00
[target.'cfg(test)'.dependencies]
tracing = { version = "0.1.5", features = ["log"] }
[dev-dependencies]
2019-08-29 12:59:10 -07:00
tokio = { version = "0.2.0-alpha.4", path = "../tokio" }
tokio-test = { version = "0.2.0-alpha.4", path = "../tokio-test" }
2019-08-15 20:37:25 -07:00
num_cpus = "1.8.0"
tokio-io-pool = "0.1.4"
2019-08-16 14:42:05 -07:00
# UDS tests
tempfile = "3"
futures-preview = { version = "=0.3.0-alpha.18", features = ["nightly", "async-await"] }
[package.metadata.docs.rs]
all-features = true