forked from abonander/multipart-async
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (33 loc) · 1.01 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
[package]
name = "multipart-async"
version = "0.0.2"
authors = ["Austin Bonander <[email protected]>"]
description = "A backend-agnostic extension for asynchronous HTTP libraries that provides support for POST multipart/form-data requests on for both client and server."
keywords = ["form-data", "hyper", "async", "http", "upload"]
repository = "http://github.com/abonander/multipart-async"
license = "MIT OR Apache-2.0"
[dependencies]
bytes = "0.4.4"
display_bytes = "0.1"
env_logger = "0.3"
futures = "0.1"
http = "0.1.0"
log = "0.3"
mime = "0.3"
mime_guess = "2.0.0-alpha.1"
rand = "0.3"
tempdir = "0.3"
hyper = { version = "0.11", optional = true }
httparse = { version = "1.0", optional = true }
twoway = { version = "0.1", optional = true }
[features]
client = []
default = ["hyper", "server", "client"]
server = ["twoway", "httparse"]
sse4 = ["twoway/pcmp"]
# Use `Arc` instead of `Rc` where needed
use_arc = []
[[bin]]
name = "form_test"
path = "bin/form_test.rs"
required-features = ["hyper", "server"]