mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
This updates tests to track a fix applied in Mio. Previously, Mio incorrectly fired HUP events. This was due to Mio mapping `RDHUP` to HUP. The test is updated to correctly generate a HUP event. Additionally, HUP events will be removed from all platforms except for Linux. This is caused by the inability to reliably map kqueue events to the epoll HUP behavior.
36 lines
886 B
TOML
36 lines
886 B
TOML
[package]
|
|
name = "tokio-tcp"
|
|
# When releasing to crates.io:
|
|
# - Remove path dependencies
|
|
# - Update html_root_url.
|
|
# - Update doc url
|
|
# - Cargo.toml
|
|
# - README.md
|
|
# - Update CHANGELOG.md.
|
|
# - Create "v0.2.x" git tag.
|
|
version = "0.2.0"
|
|
edition = "2018"
|
|
authors = ["Carl Lerche <[email protected]>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/tokio-rs/tokio"
|
|
homepage = "https://tokio.rs"
|
|
documentation = "https://docs.rs/tokio-tcp/0.1.3/tokio_tcp"
|
|
description = """
|
|
TCP bindings for tokio.
|
|
"""
|
|
categories = ["asynchronous"]
|
|
publish = false
|
|
|
|
[dependencies]
|
|
tokio-io = { version = "0.2.0", path = "../tokio-io" }
|
|
tokio-reactor = { version = "0.2.0", path = "../tokio-reactor" }
|
|
bytes = "0.4"
|
|
mio = "0.6.14"
|
|
iovec = "0.1"
|
|
futures = "0.1.19"
|
|
|
|
[dev-dependencies]
|
|
env_logger = { version = "0.5", default-features = false }
|
|
net2 = "*"
|
|
tokio = { version = "0.2.0", path = "../tokio" }
|