Debian Codegraph @

third_party/rust/tokio/Cargo.toml

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