forked from cetra3/mpart-async
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (45 loc) · 1.07 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
[package]
name = "mpart-async"
version = "0.5.0"
authors = ["cetra3 <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Asynchronous (Futures-Base) Multipart Requests for Rust"
repository = "https://github.com/cetra3/mpart-async"
readme = "README.md"
edition = "2018"
[dependencies]
bytes = "1.0"
futures-core = "0.3"
futures-util = { version = "0.3", default-features = false }
rand = "0.7"
log = "0.4.1"
httparse = "1.3.4"
http = "0.2.0"
twoway = "0.2.1"
tokio = { version = "1.0", optional = true, features= ["fs"] }
tokio-util = { version = "0.6", optional = true, features= ["codec"] }
mime_guess = {version = "2.0.1", optional = true}
thiserror = "1.0"
pin-project = "1.0"
percent-encoding = "2.1.0"
[dev-dependencies]
hyper = "0.14"
warp = "0.3"
mime = "0.3.16"
headers = "0.3.2"
criterion = "0.3"
rand = "0.7"
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
tokio-stream = { version = "0.1" }
[features]
default = [
"filestream"
]
filestream = [
"tokio",
"tokio-util",
"mime_guess"
]
[[bench]]
name = "megabyte_parsing"
harness = false