Files
tokio/Cargo.toml
T

147 lines
4.0 KiB
TOML
Raw Normal View History

2016-07-30 17:53:12 -07:00
[package]
2017-10-24 16:30:16 -07:00
name = "tokio"
2018-01-30 13:26:59 -08:00
# When releasing to crates.io:
# - Update html_root_url.
2019-01-25 10:20:09 -08:00
# - Update doc url
# - Cargo.toml
# - README.md
2018-01-30 13:26:59 -08:00
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
2019-01-25 10:20:09 -08:00
version = "0.1.15"
2018-02-07 13:28:29 -08:00
authors = ["Carl Lerche <[email protected]>"]
license = "MIT"
readme = "README.md"
2019-01-25 10:20:09 -08:00
documentation = "https://docs.rs/tokio/0.1.15/tokio/"
2017-10-24 16:30:16 -07:00
repository = "https://github.com/tokio-rs/tokio"
2017-01-11 09:21:01 -08:00
homepage = "https://tokio.rs"
2016-07-31 13:53:58 -07:00
description = """
2018-02-07 13:28:29 -08:00
An event-driven, non-blocking I/O platform for writing asynchronous I/O
backed applications.
2016-07-31 13:53:58 -07:00
"""
categories = ["asynchronous", "network-programming"]
2018-02-07 13:28:29 -08:00
keywords = ["io", "async", "non-blocking", "futures"]
2017-01-23 20:15:49 -08:00
[workspace]
members = [
"./",
2018-09-26 10:10:47 -07:00
"tokio-async-await",
2018-10-29 13:43:48 -07:00
"tokio-buf",
2018-06-04 22:36:06 -05:00
"tokio-codec",
2018-06-12 19:26:03 +02:00
"tokio-current-thread",
"tokio-executor",
2018-05-02 11:19:58 -07:00
"tokio-fs",
"tokio-io",
"tokio-reactor",
2018-09-01 11:18:51 +02:00
"tokio-signal",
"tokio-sync",
"tokio-threadpool",
2018-03-28 22:26:47 -07:00
"tokio-timer",
"tokio-tcp",
2018-08-08 08:36:17 -07:00
"tokio-tls",
2019-02-19 12:15:01 -08:00
"tokio-trace",
"tokio-trace/tokio-trace-core",
"tokio-udp",
2018-05-14 14:48:32 -07:00
"tokio-uds",
]
2018-09-26 10:10:47 -07:00
[features]
default = [
"codec",
"fs",
"io",
"reactor",
"rt-full",
"sync",
"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",
]
sync = ["tokio-sync"]
tcp = ["tokio-tcp"]
timer = ["tokio-timer"]
udp = ["tokio-udp"]
uds = ["tokio-uds"]
2018-09-26 10:10:47 -07:00
# 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",
]
2017-01-23 20:15:49 -08:00
[badges]
2017-10-24 16:30:16 -07:00
travis-ci = { repository = "tokio-rs/tokio" }
2018-04-02 02:16:22 +03:00
appveyor = { repository = "carllerche/tokio", id = "s83yxhy9qeb58va7" }
2016-07-30 17:53:12 -07:00
[dependencies]
# Only non-optional dependency...
2018-03-30 15:32:25 -07:00
futures = "0.1.20"
2018-03-23 10:34:42 -07:00
# 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-sync = { version = "0.1.0", path = "tokio-sync", optional = true }
tokio-threadpool = { version = "0.1.8", 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 }
2018-03-30 11:50:02 -07:00
# Needed until `reactor` is removed from `tokio`.
mio = { version = "0.6.14", optional = true }
2018-03-30 11:50:02 -07:00
2018-09-26 10:10:47 -07:00
# Needed for async/await preview support
tokio-async-await = { version = "0.1.0", path = "tokio-async-await", optional = true }
2018-09-28 11:32:52 -07:00
[target.'cfg(unix)'.dependencies]
tokio-uds = { version = "0.2.1", path = "tokio-uds", optional = true }
2018-09-28 11:32:52 -07:00
2016-07-30 17:53:12 -07:00
[dev-dependencies]
2018-08-10 21:37:45 +02:00
env_logger = { version = "0.5", default-features = false }
2018-01-02 19:03:54 +01:00
flate2 = { version = "1", features = ["tokio"] }
2017-09-11 14:40:18 -07:00
futures-cpupool = "0.1"
2017-09-10 21:45:23 -07:00
http = "0.1"
httparse = "1.0"
2016-12-08 16:30:18 -08:00
libc = "0.2"
2017-09-10 08:54:35 -07:00
num_cpus = "1.0"
2017-09-10 21:45:23 -07:00
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" }