• 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"
14rust-version = "1.49"
15name = "tokio"
16version = "1.25.0"
17authors = ["Tokio Contributors <team@tokio.rs>"]
18description = """
19An event-driven, non-blocking I/O platform for writing asynchronous I/O
20backed applications.
21"""
22homepage = "https://tokio.rs"
23readme = "README.md"
24keywords = [
25    "io",
26    "async",
27    "non-blocking",
28    "futures",
29]
30categories = [
31    "asynchronous",
32    "network-programming",
33]
34license = "MIT"
35repository = "https://github.com/tokio-rs/tokio"
36
37[package.metadata.docs.rs]
38all-features = true
39rustdoc-args = [
40    "--cfg",
41    "docsrs",
42    "--cfg",
43    "tokio_unstable",
44]
45rustc-args = [
46    "--cfg",
47    "tokio_unstable",
48]
49
50[package.metadata.playground]
51features = [
52    "full",
53    "test-util",
54]
55
56[dependencies.bytes]
57version = "1.0.0"
58optional = true
59
60[dependencies.memchr]
61version = "2.2"
62optional = true
63
64[dependencies.mio]
65version = "0.8.4"
66optional = true
67
68[dependencies.num_cpus]
69version = "1.8.0"
70optional = true
71
72[dependencies.parking_lot]
73version = "0.12.0"
74optional = true
75
76[dependencies.pin-project-lite]
77version = "0.2.0"
78
79[dependencies.tokio-macros]
80version = "1.7.0"
81optional = true
82
83[dev-dependencies.async-stream]
84version = "0.3"
85
86[dev-dependencies.futures]
87version = "0.3.0"
88features = ["async-await"]
89
90[dev-dependencies.mockall]
91version = "0.11.1"
92
93[dev-dependencies.tempfile]
94version = "3.1.0"
95
96[dev-dependencies.tokio-stream]
97version = "0.1"
98
99[dev-dependencies.tokio-test]
100version = "0.4.0"
101
102[build-dependencies.autocfg]
103version = "1.1"
104
105[features]
106default = []
107fs = []
108full = [
109    "fs",
110    "io-util",
111    "io-std",
112    "macros",
113    "net",
114    "parking_lot",
115    "process",
116    "rt",
117    "rt-multi-thread",
118    "signal",
119    "sync",
120    "time",
121]
122io-std = []
123io-util = [
124    "memchr",
125    "bytes",
126]
127macros = ["tokio-macros"]
128net = [
129    "libc",
130    "mio/os-poll",
131    "mio/os-ext",
132    "mio/net",
133    "socket2",
134    "windows-sys/Win32_Foundation",
135    "windows-sys/Win32_Security",
136    "windows-sys/Win32_Storage_FileSystem",
137    "windows-sys/Win32_System_Pipes",
138    "windows-sys/Win32_System_SystemServices",
139]
140process = [
141    "bytes",
142    "libc",
143    "mio/os-poll",
144    "mio/os-ext",
145    "mio/net",
146    "signal-hook-registry",
147    "windows-sys/Win32_Foundation",
148    "windows-sys/Win32_System_Threading",
149    "windows-sys/Win32_System_WindowsProgramming",
150]
151rt = []
152rt-multi-thread = [
153    "num_cpus",
154    "rt",
155]
156signal = [
157    "libc",
158    "mio/os-poll",
159    "mio/net",
160    "mio/os-ext",
161    "signal-hook-registry",
162    "windows-sys/Win32_Foundation",
163    "windows-sys/Win32_System_Console",
164]
165stats = []
166sync = []
167test-util = [
168    "rt",
169    "sync",
170    "time",
171]
172time = []
173
174[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test]
175version = "0.3.0"
176
177[target."cfg(docsrs)".dependencies.windows-sys]
178version = "0.42.0"
179features = [
180    "Win32_Foundation",
181    "Win32_Security_Authorization",
182]
183
184[target."cfg(loom)".dev-dependencies.loom]
185version = "0.5.2"
186features = [
187    "futures",
188    "checkpoint",
189]
190
191[target."cfg(not(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\")))".dev-dependencies.rand]
192version = "0.8.0"
193
194[target."cfg(not(any(target_arch = \"wasm32\", target_arch = \"wasm64\")))".dependencies.socket2]
195version = "0.4.4"
196features = ["all"]
197optional = true
198
199[target."cfg(not(any(target_arch = \"wasm32\", target_arch = \"wasm64\")))".dev-dependencies.proptest]
200version = "1"
201
202[target."cfg(not(any(target_arch = \"wasm32\", target_arch = \"wasm64\")))".dev-dependencies.socket2]
203version = "0.4"
204
205[target."cfg(target_os = \"freebsd\")".dev-dependencies.mio-aio]
206version = "0.7.0"
207features = ["tokio"]
208
209[target."cfg(tokio_unstable)".dependencies.tracing]
210version = "0.1.25"
211features = ["std"]
212optional = true
213default-features = false
214
215[target."cfg(unix)".dependencies.libc]
216version = "0.2.42"
217optional = true
218
219[target."cfg(unix)".dependencies.signal-hook-registry]
220version = "1.1.1"
221optional = true
222
223[target."cfg(unix)".dev-dependencies.libc]
224version = "0.2.42"
225
226[target."cfg(unix)".dev-dependencies.nix]
227version = "0.26"
228features = [
229    "fs",
230    "socket",
231]
232default-features = false
233
234[target."cfg(windows)".dependencies.windows-sys]
235version = "0.42.0"
236optional = true
237
238[target."cfg(windows)".dev-dependencies.ntapi]
239version = "0.3.6"
240