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 = "2021"
14rust-version = "1.63"
15name = "axum"
16version = "0.6.20"
17description = "Web framework that focuses on ergonomics and modularity"
18homepage = "https://github.com/tokio-rs/axum"
19readme = "README.md"
20keywords = [
21    "http",
22    "web",
23    "framework",
24]
25categories = [
26    "asynchronous",
27    "network-programming",
28    "web-programming::http-server",
29]
30license = "MIT"
31repository = "https://github.com/tokio-rs/axum"
32
33[package.metadata.cargo-public-api-crates]
34allowed = [
35    "async_trait",
36    "axum_core",
37    "axum_macros",
38    "bytes",
39    "futures_core",
40    "futures_sink",
41    "futures_util",
42    "headers",
43    "headers_core",
44    "http",
45    "http_body",
46    "hyper",
47    "serde",
48    "serde_json",
49    "tower_layer",
50    "tower_service",
51]
52
53[package.metadata.docs.rs]
54all-features = true
55rustdoc-args = [
56    "--cfg",
57    "docsrs",
58]
59
60[package.metadata.playground]
61features = [
62    "http1",
63    "http2",
64    "json",
65    "multipart",
66    "ws",
67]
68
69[[bench]]
70name = "benches"
71harness = false
72
73[dependencies.async-trait]
74version = "0.1.67"
75
76[dependencies.axum-core]
77version = "0.3.4"
78
79[dependencies.axum-macros]
80version = "0.3.8"
81optional = true
82
83[dependencies.base64]
84version = "0.21.0"
85optional = true
86
87[dependencies.bitflags]
88version = "1.0"
89
90[dependencies.bytes]
91version = "1.0"
92
93[dependencies.futures-util]
94version = "0.3"
95features = ["alloc"]
96default-features = false
97
98[dependencies.headers]
99version = "0.3.7"
100optional = true
101
102[dependencies.http]
103version = "0.2.9"
104
105[dependencies.http-body]
106version = "0.4.4"
107
108[dependencies.hyper]
109version = "0.14.24"
110features = ["stream"]
111
112[dependencies.itoa]
113version = "1.0.5"
114
115[dependencies.matchit]
116version = "0.7"
117
118[dependencies.memchr]
119version = "2.4.1"
120
121[dependencies.mime]
122version = "0.3.16"
123
124[dependencies.multer]
125version = "2.0.0"
126optional = true
127
128[dependencies.percent-encoding]
129version = "2.1"
130
131[dependencies.pin-project-lite]
132version = "0.2.7"
133
134[dependencies.serde]
135version = "1.0"
136
137[dependencies.serde_json]
138version = "1.0"
139features = ["raw_value"]
140optional = true
141
142[dependencies.serde_path_to_error]
143version = "0.1.8"
144optional = true
145
146[dependencies.serde_urlencoded]
147version = "0.7"
148optional = true
149
150[dependencies.sha1]
151version = "0.10"
152optional = true
153
154[dependencies.sync_wrapper]
155version = "0.1.1"
156
157[dependencies.tokio]
158version = "1.25.0"
159features = ["time"]
160optional = true
161package = "tokio"
162
163[dependencies.tokio-tungstenite]
164version = "0.20"
165optional = true
166
167[dependencies.tower]
168version = "0.4.13"
169features = ["util"]
170default-features = false
171
172[dependencies.tower-http]
173version = "0.4"
174features = [
175    "add-extension",
176    "auth",
177    "catch-panic",
178    "compression-br",
179    "compression-deflate",
180    "compression-gzip",
181    "cors",
182    "decompression-br",
183    "decompression-deflate",
184    "decompression-gzip",
185    "follow-redirect",
186    "fs",
187    "limit",
188    "map-request-body",
189    "map-response-body",
190    "metrics",
191    "normalize-path",
192    "propagate-header",
193    "redirect",
194    "request-id",
195    "sensitive-headers",
196    "set-header",
197    "set-status",
198    "timeout",
199    "trace",
200    "util",
201    "validate-request",
202]
203optional = true
204
205[dependencies.tower-layer]
206version = "0.3.2"
207
208[dependencies.tower-service]
209version = "0.3"
210
211[dependencies.tracing]
212version = "0.1"
213optional = true
214default-features = false
215
216[dev-dependencies.anyhow]
217version = "1.0"
218
219[dev-dependencies.axum-macros]
220version = "0.3.8"
221features = ["__private"]
222
223[dev-dependencies.quickcheck]
224version = "1.0"
225
226[dev-dependencies.quickcheck_macros]
227version = "1.0"
228
229[dev-dependencies.reqwest]
230version = "0.11.14"
231features = [
232    "json",
233    "stream",
234    "multipart",
235]
236default-features = false
237
238[dev-dependencies.rustversion]
239version = "1.0.9"
240
241[dev-dependencies.serde]
242version = "1.0"
243features = ["derive"]
244
245[dev-dependencies.serde_json]
246version = "1.0"
247
248[dev-dependencies.time]
249version = "0.3"
250features = ["serde-human-readable"]
251
252[dev-dependencies.tokio]
253version = "1.25.0"
254features = [
255    "macros",
256    "rt",
257    "rt-multi-thread",
258    "net",
259    "test-util",
260]
261package = "tokio"
262
263[dev-dependencies.tokio-stream]
264version = "0.1"
265
266[dev-dependencies.tower]
267version = "0.4.10"
268features = [
269    "util",
270    "timeout",
271    "limit",
272    "load-shed",
273    "steer",
274    "filter",
275]
276package = "tower"
277
278[dev-dependencies.tower-http]
279version = "0.4"
280features = [
281    "add-extension",
282    "auth",
283    "catch-panic",
284    "compression-br",
285    "compression-deflate",
286    "compression-gzip",
287    "cors",
288    "decompression-br",
289    "decompression-deflate",
290    "decompression-gzip",
291    "follow-redirect",
292    "fs",
293    "limit",
294    "map-request-body",
295    "map-response-body",
296    "metrics",
297    "normalize-path",
298    "propagate-header",
299    "redirect",
300    "request-id",
301    "sensitive-headers",
302    "set-header",
303    "set-status",
304    "timeout",
305    "trace",
306    "util",
307    "validate-request",
308]
309
310[dev-dependencies.tracing]
311version = "0.1"
312
313[dev-dependencies.tracing-subscriber]
314version = "0.3"
315features = ["json"]
316
317[dev-dependencies.uuid]
318version = "1.0"
319features = [
320    "serde",
321    "v4",
322]
323
324[build-dependencies.rustversion]
325version = "1.0.9"
326
327[features]
328__private_docs = [
329    "tower/full",
330    "dep:tower-http",
331]
332default = [
333    "form",
334    "http1",
335    "json",
336    "matched-path",
337    "original-uri",
338    "query",
339    "tokio",
340    "tower-log",
341]
342form = ["dep:serde_urlencoded"]
343http1 = ["hyper/http1"]
344http2 = ["hyper/http2"]
345json = [
346    "dep:serde_json",
347    "dep:serde_path_to_error",
348]
349macros = ["dep:axum-macros"]
350matched-path = []
351multipart = ["dep:multer"]
352original-uri = []
353query = ["dep:serde_urlencoded"]
354tokio = [
355    "dep:tokio",
356    "hyper/server",
357    "hyper/tcp",
358    "hyper/runtime",
359    "tower/make",
360]
361tower-log = ["tower/log"]
362tracing = [
363    "dep:tracing",
364    "axum-core/tracing",
365]
366ws = [
367    "tokio",
368    "dep:tokio-tungstenite",
369    "dep:sha1",
370    "dep:base64",
371]
372