multipart 0.14.0

A backend-agnostic extension for HTTP libraries that provides support for POST multipart/form-data requests on both client and server.
Documentation
[package]

name = "multipart"



version = "0.14.0"



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 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"



readme = "README.md"



[dependencies]

log = "0.4"

mime = "0.3"

mime_guess = "2.0.0-alpha.3"

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 }

quick-error = { version = "1.2", 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 }

nickel = { version = ">=0.10.1", optional = true }



[dev-dependencies]

env_logger = "0.4"



[features]

client = []

default = ["client", "hyper", "iron", "mock", "nickel", "server", "tiny_http"]

server = ["buf_redux", "httparse", "quick-error", "safemem", "twoway"]

mock = []

nightly = []

bench = []

# Use this to enable SSE4.2 instructions in boundary finding

# TODO: Benchmark this

sse4 = ["nightly", "twoway/pcmp"]

# switch uses of `Arc<String>` for `Arc<str>` (`From<String>` impl only stabilized in 1.21)

use_arc_str = []



[[example]]

name = "hyper_client"

required-features = ["mock", "hyper"]



[[example]]

name = "hyper_reqbuilder"

required-features = ["mock", "hyper"]



[[example]]

name = "hyper_server"

required-features = ["mock", "hyper"]



[[example]]

name = "iron"

required-features = ["mock", "iron"]



[[example]]

name = "iron_intercept"

required-features = ["mock", "iron"]



[[example]]

name = "nickel"

required-features = ["mock", "nickel"]



[[example]]

name = "tiny_http"

required-features = ["mock", "tiny_http"]