forked from abonander/multipart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (38 loc) · 1.34 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
[package]
name = "multipart"
version = "0.13.3"
authors = ["Austin Bonander <[email protected]>"]
description = "A backend-agnostic extension for HTTP libraries that provides support for POST multipart/form-data requests on both client and server."
keywords = ["form-data", "hyper", "iron", "http", "upload"]
repository = "http://github.com/abonander/multipart"
documentation = "http://docs.rs/multipart/"
license = "MIT OR Apache-2.0"
[dependencies]
log = "0.3"
mime = "0.2"
mime_guess = "1.8"
rand = "0.3"
safemem = { version = "0.2", optional = true }
tempdir = ">=0.3.4"
clippy = { version = ">=0.0, <0.1", optional = true}
#Server Dependencies
buf_redux = { version = "0.6", optional = true }
httparse = { version = "1.2", optional = true }
twoway = { version = "0.1", optional = true }
# Optional Integrations
hyper = { version = ">=0.9, <0.11", optional = true, default-features = false }
iron = { version = ">=0.4,<0.6", optional = true }
tiny_http = { version = "0.5", optional = true }
[dev-dependencies]
env_logger = "0.3"
[features]
client = []
default = ["all"]
server = ["buf_redux", "httparse", "safemem", "twoway"]
mock = []
nightly = []
bench = []
# Use this to enable SSE4.2 instructions in boundary finding
# TODO: Benchmark this
sse4 = ["nightly", "twoway/pcmp"]
all = ["client", "server", "hyper", "iron", "tiny_http", "mock"]