-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Cargo.toml
56 lines (48 loc) · 1.57 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "multer"
version = "3.1.0"
description = "An async parser for `multipart/form-data` content-type in Rust."
homepage = "https://github.com/rwf2/multer"
repository = "https://github.com/rwf2/multer"
keywords = ["multipart", "multipart-formdata", "multipart-uploads", "async", "formdata"]
categories = ["asynchronous", "web-programming"]
authors = ["Rousan Ali <[email protected]>"]
readme = "README.md"
license = "MIT"
edition = "2018"
[package.metadata.docs.rs]
all-features = true
[package.metadata.playground]
features = ["all"]
[features]
default = []
all = ["json"]
json = ["serde", "serde_json"]
tokio-io = ["tokio", "tokio-util"]
log = ["dep:log"]
[dependencies]
bytes = "1.0"
futures-util = { version = "0.3", default-features = false }
memchr = "2.4"
http = "1.0"
httparse = "1.3"
mime = "0.3.10"
encoding_rs = "0.8.20"
spin = { version = "0.9", default-features = false, features = ["spin_mutex"] }
log = { version = "0.4.15", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
tokio = { version = "1.0", features = [], optional = true }
tokio-util = { version = "0.7", features = ["io"], optional = true }
[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] }
hyper = { version = "1.0", features = ["server", "http1"] }
http-body-util = "0.1"
hyper-util = { version = "0.1.1", features = ["full"] }
[build-dependencies]
version_check = "0.9"
[[example]]
name = "parse_async_read"
path = "examples/parse_async_read.rs"
required-features = ["tokio-io"]