[package]
name = "multipart"
version = "0.9.0-alpha.9"
authors = ["Austin Bonander <austin.bonander@gmail.com>"]
description = "A backend-agnostic extension for HTTP libraries that provides support for POST multipart/form-data requests on for 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"
tempdir = ">=0.3.4"
buf_redux = { version = "0.6", optional = true }
safemem = { version = "0.2", optional = true }
twoway = { version = "0.1", optional = true }
hyper = { version = "0.9", optional = true, default-features = false }
iron = { version = "0.4", optional = true }
nickel = { optional = true, version = "0.9" }
tiny_http = { version = "0.5", optional = true }
[dependencies.httparse]
version = "1.2"
optional = true
[dev-dependencies]
env_logger = "0.3"
[features]
client = []
default = ["all"]
server = ["buf_redux", "httparse", "safemem", "twoway"]
mock = []
nickel_ = ["nickel", "hyper"]
nightly = []
all = ["client", "server", "hyper", "iron", "nickel_", "tiny_http", "mock"]