Files
tokio/tokio-net/Cargo.toml
T
Carl Lerche 99940aeeb4 chore: remove tracing. (#1680)
Historically, logging has been added haphazardly. Here, we entirely
remove logging as none of it is particularly useful. In the future, we
will add tracing back in order to expose useful data to the user of
Tokio.
2019-10-23 11:04:14 -07:00

110 lines
2.6 KiB
TOML

[package]
name = "tokio-net"
# When releasing to crates.io:
# - Remove path dependencies
# - Update html_root_url.
# - Update doc url
# - Cargo.toml
# - Update CHANGELOG.md.
# - Create "v0.2.x" git tag.
version = "0.2.0-alpha.6"
edition = "2018"
authors = ["Tokio Contributors <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-net/0.2.0-alpha.6/tokio_net"
description = """
Event loop that drives Tokio I/O resources.
"""
categories = ["asynchronous", "network-programming"]
[features]
async-traits = []
process = [
"tokio-io/util",
"crossbeam-queue",
"libc",
"mio-named-pipes",
"signal",
"winapi/handleapi",
"winapi/winerror",
"winapi/minwindef",
"winapi/processthreadsapi",
"winapi/synchapi",
"winapi/threadpoollegacyapiset",
"winapi/winbase",
"winapi/winnt",
]
signal = [
"mio-uds",
"libc",
"signal-hook-registry",
"winapi/consoleapi",
"winapi/minwindef",
"winapi/wincon"
]
tcp = [
"bytes",
"iovec",
]
udp = [
"bytes",
"futures-sink-preview",
]
uds = [
"bytes",
"mio-uds",
"iovec",
"libc",
]
[dependencies]
tokio-executor = { version = "=0.2.0-alpha.6", features = ["blocking"], path = "../tokio-executor" }
tokio-io = { version = "=0.2.0-alpha.6", path = "../tokio-io" }
tokio-sync = { version = "=0.2.0-alpha.6", path = "../tokio-sync" }
# driver implementation
crossbeam-utils = "0.6.0"
futures-core-preview = "=0.3.0-alpha.19"
futures-util-preview = "=0.3.0-alpha.19"
lazy_static = "1.0.2"
mio = "0.6.14"
num_cpus = "1.8.0"
parking_lot = "0.9"
slab = "0.4.0"
# TCP / UDP
bytes = { version = "0.4", optional = true }
futures-sink-preview = { version = "=0.3.0-alpha.19", optional = true }
iovec = { version = "0.1", optional = true }
[target.'cfg(unix)'.dependencies]
# UDS / Signal
crossbeam-queue = { version = "0.1.2", optional = true }
mio-uds = { version = "0.6.5", optional = true }
libc = { version = "0.2.42", optional = true }
signal-hook-registry = { version = "~1", optional = true }
[target.'cfg(windows)'.dependencies]
mio-named-pipes = { version = "0.1", optional = true }
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3"
default-features = false
optional = true
[dev-dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio" }
tokio-test = { version = "=0.2.0-alpha.6", path = "../tokio-test" }
num_cpus = "1.8.0"
tokio-io-pool = "0.1.4"
# UDS tests
tempfile = "3"
futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] }
[package.metadata.docs.rs]
all-features = true