mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00

Also bumps: * tokio-async-await (0.1.5) * tokio-executor (0.1.6) * tokio-fs (0.1.5) * tokio-io (0.1.11) * tokio-reactor (0.1.8) * tokio-tcp (0.1.3) * tokio-threadpool (0.1.10) * tokio-tls (0.2.1) * tokio-uds (0.2.5) ...and updates LICENSE files to 2019.
141 lines
3.8 KiB
TOML
141 lines
3.8 KiB
TOML
[package]
|
|
name = "tokio"
|
|
|
|
# When releasing to crates.io:
|
|
# - Update html_root_url.
|
|
# - Update CHANGELOG.md.
|
|
# - Update doc URL.
|
|
# - Create "v0.1.x" git tag.
|
|
version = "0.1.14"
|
|
authors = ["Carl Lerche <me@carllerche.com>"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
documentation = "https://docs.rs/tokio/0.1.14/tokio/"
|
|
repository = "https://github.com/tokio-rs/tokio"
|
|
homepage = "https://tokio.rs"
|
|
description = """
|
|
An event-driven, non-blocking I/O platform for writing asynchronous I/O
|
|
backed applications.
|
|
"""
|
|
categories = ["asynchronous", "network-programming"]
|
|
keywords = ["io", "async", "non-blocking", "futures"]
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
"./",
|
|
"tokio-async-await",
|
|
"tokio-buf",
|
|
"tokio-channel",
|
|
"tokio-codec",
|
|
"tokio-current-thread",
|
|
"tokio-executor",
|
|
"tokio-fs",
|
|
"tokio-io",
|
|
"tokio-reactor",
|
|
"tokio-signal",
|
|
"tokio-threadpool",
|
|
"tokio-timer",
|
|
"tokio-tcp",
|
|
"tokio-tls",
|
|
"tokio-udp",
|
|
"tokio-uds",
|
|
]
|
|
|
|
[features]
|
|
default = [
|
|
"codec",
|
|
"fs",
|
|
"io",
|
|
"reactor",
|
|
"rt-full",
|
|
"tcp",
|
|
"timer",
|
|
"udp",
|
|
"uds",
|
|
]
|
|
|
|
codec = ["tokio-codec"]
|
|
fs = ["tokio-fs"]
|
|
io = ["bytes", "tokio-io"]
|
|
reactor = ["io", "mio", "tokio-reactor"]
|
|
rt-full = [
|
|
"num_cpus",
|
|
"reactor",
|
|
"timer",
|
|
"tokio-current-thread",
|
|
"tokio-executor",
|
|
"tokio-threadpool",
|
|
]
|
|
tcp = ["tokio-tcp"]
|
|
timer = ["tokio-timer"]
|
|
udp = ["tokio-udp"]
|
|
uds = ["tokio-uds"]
|
|
|
|
# This feature comes with no promise of stability. Things will
|
|
# break with each patch release. Use at your own risk.
|
|
async-await-preview = [
|
|
"tokio-async-await/async-await-preview",
|
|
]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "tokio-rs/tokio" }
|
|
appveyor = { repository = "carllerche/tokio", id = "s83yxhy9qeb58va7" }
|
|
|
|
[dependencies]
|
|
# Only non-optional dependency...
|
|
futures = "0.1.20"
|
|
|
|
# Everything else is optional...
|
|
bytes = { version = "0.4", optional = true }
|
|
num_cpus = { version = "1.8.0", optional = true }
|
|
tokio-codec = { version = "0.1.0", path = "tokio-codec", optional = true }
|
|
tokio-current-thread = { version = "0.1.3", path = "tokio-current-thread", optional = true }
|
|
tokio-fs = { version = "0.1.3", path = "tokio-fs", optional = true }
|
|
tokio-io = { version = "0.1.6", path = "tokio-io", optional = true }
|
|
tokio-executor = { version = "0.1.5", path = "tokio-executor", optional = true }
|
|
tokio-reactor = { version = "0.1.1", path = "tokio-reactor", optional = true }
|
|
tokio-threadpool = { version = "0.1.4", path = "tokio-threadpool", optional = true }
|
|
tokio-tcp = { version = "0.1.0", path = "tokio-tcp", optional = true }
|
|
tokio-udp = { version = "0.1.0", path = "tokio-udp", optional = true }
|
|
tokio-timer = { version = "0.2.8", path = "tokio-timer", optional = true }
|
|
|
|
# Needed until `reactor` is removed from `tokio`.
|
|
mio = { version = "0.6.14", optional = true }
|
|
|
|
# Needed for async/await preview support
|
|
tokio-async-await = { version = "0.1.0", path = "tokio-async-await", optional = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
tokio-uds = { version = "0.2.1", path = "tokio-uds", optional = true }
|
|
|
|
[dev-dependencies]
|
|
env_logger = { version = "0.5", default-features = false }
|
|
flate2 = { version = "1", features = ["tokio"] }
|
|
futures-cpupool = "0.1"
|
|
http = "0.1"
|
|
httparse = "1.0"
|
|
libc = "0.2"
|
|
num_cpus = "1.0"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
time = "0.1"
|
|
|
|
[patch.crates-io]
|
|
#tokio = { path = "." }
|
|
#tokio-async-await = { path = "./tokio-async-await" }
|
|
#tokio-codec = { path = "./tokio-codec" }
|
|
#tokio-current-thread = { path = "./tokio-current-thread" }
|
|
#tokio-executor = { path = "./tokio-executor" }
|
|
#tokio-fs = { path = "./tokio-fs" }
|
|
#tokio-io = { path = "./tokio-io" }
|
|
#tokio-reactor = { path = "./tokio-reactor" }
|
|
#tokio-signal = { path = "./tokio-signal" }
|
|
#tokio-tcp = { path = "./tokio-tcp" }
|
|
#tokio-threadpool = { path = "./tokio-threadpool" }
|
|
#tokio-timer = { path = "./tokio-timer" }
|
|
#tokio-tls = { path = "./tokio-tls" }
|
|
#tokio-udp = { path = "./tokio-udp" }
|
|
#tokio-uds = { path = "./tokio-uds" }
|