• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14name = "tokio"
15version = "1.14.0"
16authors = ["Tokio Contributors <team@tokio.rs>"]
17description = "An event-driven, non-blocking I/O platform for writing asynchronous I/O\nbacked applications.\n"
18homepage = "https://tokio.rs"
19documentation = "https://docs.rs/tokio/1.14.0/tokio/"
20readme = "README.md"
21keywords = ["io", "async", "non-blocking", "futures"]
22categories = ["asynchronous", "network-programming"]
23license = "MIT"
24repository = "https://github.com/tokio-rs/tokio"
25[package.metadata.docs.rs]
26all-features = true
27rustdoc-args = ["--cfg", "docsrs"]
28
29[package.metadata.playground]
30features = ["full", "test-util"]
31[dependencies.bytes]
32version = "1.0.0"
33optional = true
34
35[dependencies.memchr]
36version = "2.2"
37optional = true
38
39[dependencies.mio]
40version = "0.7.6"
41optional = true
42
43[dependencies.num_cpus]
44version = "1.8.0"
45optional = true
46
47[dependencies.once_cell]
48version = "1.5.2"
49optional = true
50
51[dependencies.parking_lot]
52version = "0.11.0"
53optional = true
54
55[dependencies.pin-project-lite]
56version = "0.2.0"
57
58[dependencies.tokio-macros]
59version = "1.6.0"
60optional = true
61[dev-dependencies.async-stream]
62version = "0.3"
63
64[dev-dependencies.futures]
65version = "0.3.0"
66features = ["async-await"]
67
68[dev-dependencies.mockall]
69version = "0.10.2"
70
71[dev-dependencies.proptest]
72version = "1"
73
74[dev-dependencies.rand]
75version = "0.8.0"
76
77[dev-dependencies.socket2]
78version = "0.4"
79
80[dev-dependencies.tempfile]
81version = "3.1.0"
82
83[dev-dependencies.tokio-stream]
84version = "0.1"
85
86[dev-dependencies.tokio-test]
87version = "0.4.0"
88[build-dependencies.autocfg]
89version = "1"
90
91[features]
92default = []
93fs = []
94full = ["fs", "io-util", "io-std", "macros", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "sync", "time"]
95io-std = []
96io-util = ["memchr", "bytes"]
97macros = ["tokio-macros"]
98net = ["libc", "mio/os-poll", "mio/os-util", "mio/tcp", "mio/udp", "mio/uds", "winapi/namedpipeapi"]
99process = ["bytes", "once_cell", "libc", "mio/os-poll", "mio/os-util", "mio/uds", "signal-hook-registry", "winapi/threadpoollegacyapiset"]
100rt = []
101rt-multi-thread = ["num_cpus", "rt"]
102signal = ["once_cell", "libc", "mio/os-poll", "mio/uds", "mio/os-util", "signal-hook-registry", "winapi/consoleapi"]
103stats = []
104sync = []
105test-util = ["rt", "sync", "time"]
106time = []
107[target."cfg(loom)".dev-dependencies.loom]
108version = "0.5"
109features = ["futures", "checkpoint"]
110[target."cfg(target_os = \"freebsd\")".dev-dependencies.mio-aio]
111version = "0.6.0"
112features = ["tokio"]
113[target."cfg(tokio_unstable)".dependencies.tracing]
114version = "0.1.25"
115features = ["std"]
116optional = true
117default-features = false
118[target."cfg(unix)".dependencies.libc]
119version = "0.2.42"
120optional = true
121
122[target."cfg(unix)".dependencies.signal-hook-registry]
123version = "1.1.1"
124optional = true
125[target."cfg(unix)".dev-dependencies.libc]
126version = "0.2.42"
127
128[target."cfg(unix)".dev-dependencies.nix]
129version = "0.22.0"
130[target."cfg(windows)".dependencies.winapi]
131version = "0.3.8"
132optional = true
133default-features = false
134[target."cfg(windows)".dev-dependencies.ntapi]
135version = "0.3.6"
136