aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r--Cargo.toml.orig82
1 files changed, 36 insertions, 46 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index dbcccdf..57e49d6 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -7,13 +7,13 @@ name = "tokio"
# - Cargo.toml
# - README.md
# - Update CHANGELOG.md.
-# - Create "v0.2.x" git tag.
-version = "0.2.22"
+# - Create "v0.3.x" git tag.
+version = "0.3.1"
edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
readme = "README.md"
-documentation = "https://docs.rs/tokio/0.2.22/tokio/"
+documentation = "https://docs.rs/tokio/0.3.1/tokio/"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
description = """
@@ -29,107 +29,97 @@ default = []
# enable everything
full = [
- "blocking",
- "dns",
"fs",
- "io-driver",
"io-util",
"io-std",
"macros",
"net",
+ "parking_lot",
"process",
- "rt-core",
- "rt-util",
- "rt-threaded",
+ "rt",
+ "rt-multi-thread",
"signal",
"stream",
"sync",
"time",
]
-blocking = ["rt-core"]
-dns = ["rt-core"]
-fs = ["rt-core", "io-util"]
-io-driver = ["mio", "lazy_static"]
-io-util = ["memchr"]
+fs = []
+io-util = ["memchr", "bytes"]
# stdin, stdout, stderr
-io-std = ["rt-core"]
+io-std = []
macros = ["tokio-macros"]
-net = ["dns", "tcp", "udp", "uds"]
+net = [
+ "lazy_static",
+ "libc",
+ "mio/os-poll",
+ "mio/tcp",
+ "mio/udp",
+ "mio/uds",
+]
process = [
- "io-driver",
+ "bytes",
+ "lazy_static",
"libc",
- "mio-named-pipes",
- "signal",
- "winapi/consoleapi",
- "winapi/minwindef",
+ "mio/os-poll",
+ "mio/os-util",
+ "mio/uds",
+ "signal-hook-registry",
"winapi/threadpoollegacyapiset",
- "winapi/winerror",
]
# Includes basic task execution capabilities
-rt-core = []
-rt-util = []
-rt-threaded = [
+rt = ["slab"]
+rt-multi-thread = [
"num_cpus",
- "rt-core",
+ "rt",
]
signal = [
- "io-driver",
"lazy_static",
"libc",
- "mio-uds",
+ "mio/os-poll",
+ "mio/uds",
"signal-hook-registry",
"winapi/consoleapi",
- "winapi/minwindef",
]
stream = ["futures-core"]
sync = ["fnv"]
test-util = []
-tcp = ["io-driver", "iovec"]
-time = ["slab"]
-udp = ["io-driver"]
-uds = ["io-driver", "mio-uds", "libc"]
+time = []
[dependencies]
-tokio-macros = { version = "0.2.4", path = "../tokio-macros", optional = true }
+tokio-macros = { version = "0.3.0", path = "../tokio-macros", optional = true }
-bytes = "0.5.0"
pin-project-lite = "0.1.1"
# Everything else is optional...
+bytes = { version = "0.6.0", optional = true }
fnv = { version = "1.0.6", optional = true }
futures-core = { version = "0.3.0", optional = true }
lazy_static = { version = "1.0.2", optional = true }
memchr = { version = "2.2", optional = true }
-mio = { version = "0.6.20", optional = true }
-iovec = { version = "0.1.4", optional = true }
+mio = { version = "0.7.3", optional = true }
num_cpus = { version = "1.8.0", optional = true }
-parking_lot = { version = "0.10.0", optional = true } # Not in full
-slab = { version = "0.4.1", optional = true } # Backs `DelayQueue`
+parking_lot = { version = "0.11.0", optional = true } # Not in full
+slab = { version = "0.4.1", optional = true }
tracing = { version = "0.1.16", default-features = false, features = ["std"], optional = true } # Not in full
[target.'cfg(unix)'.dependencies]
-mio-uds = { version = "0.6.5", optional = true }
libc = { version = "0.2.42", optional = true }
signal-hook-registry = { version = "1.1.1", optional = true }
-[target.'cfg(windows)'.dependencies]
-mio-named-pipes = { version = "0.1.6", optional = true }
-
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.8"
default-features = false
optional = true
[dev-dependencies]
-tokio-test = { version = "0.2.0", path = "../tokio-test" }
+tokio-test = { version = "0.3.0", path = "../tokio-test" }
futures = { version = "0.3.0", features = ["async-await"] }
-futures-test = "0.3.0"
proptest = "0.9.4"
tempfile = "3.1.0"
[target.'cfg(loom)'.dev-dependencies]
-loom = { version = "0.3.4", features = ["futures", "checkpoint"] }
+loom = { version = "0.3.5", features = ["futures", "checkpoint"] }
[package.metadata.docs.rs]
all-features = true