blob: e40c122f0191df2853146756fb62b3ff9b75d6ac [file] [log] [blame]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g. crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
name = "multipart"
version = "0.15.4"
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."
documentation = "http://docs.rs/multipart/"
readme = "README.md"
keywords = ["form-data", "hyper", "iron", "http", "upload"]
license = "MIT OR Apache-2.0"
repository = "http://github.com/abonander/multipart"
[[bin]]
name = "form_test"
required-features = ["mock", "hyper", "server"]
[[example]]
name = "hyper_client"
required-features = ["client", "mock", "hyper"]
[[example]]
name = "hyper_reqbuilder"
required-features = ["client", "mock", "hyper"]
[[example]]
name = "hyper_server"
required-features = ["mock", "hyper", "server"]
[[example]]
name = "iron"
required-features = ["mock", "iron", "server"]
[[example]]
name = "iron_intercept"
required-features = ["mock", "iron", "server"]
[[example]]
name = "nickel"
required-features = ["mock", "nickel", "server"]
[[example]]
name = "tiny_http"
required-features = ["mock", "tiny_http", "server"]
[[example]]
name = "rocket"
required-features = ["mock", "rocket", "rocket_codegen", "server"]
[dependencies.buf_redux]
version = "0.8"
optional = true
default-features = false
[dependencies.clippy]
version = ">=0.0, <0.1"
optional = true
[dependencies.httparse]
version = "1.2"
optional = true
[dependencies.hyper]
version = ">=0.9, <0.11"
optional = true
default-features = false
[dependencies.iron]
version = ">=0.4,<0.7"
optional = true
[dependencies.log]
version = "0.4"
[dependencies.mime]
version = "0.2"
[dependencies.mime_guess]
version = "1.8"
[dependencies.nickel]
version = ">=0.10.1"
optional = true
[dependencies.quick-error]
version = "1.2"
optional = true
[dependencies.rand]
version = "0.4"
[dependencies.rocket]
version = "0.3"
optional = true
[dependencies.rocket_codegen]
version = "0.3"
optional = true
[dependencies.safemem]
version = "0.3"
optional = true
[dependencies.tempdir]
version = "0.3"
[dependencies.tiny_http]
version = "0.6"
optional = true
[dependencies.twoway]
version = "0.1"
optional = true
[dev-dependencies.env_logger]
version = "0.5"
[features]
bench = []
client = []
default = ["client", "hyper", "iron", "mock", "nickel", "server", "tiny_http"]
mock = []
nightly = []
server = ["buf_redux", "httparse", "quick-error", "safemem", "twoway"]
sse4 = ["nightly", "twoway/pcmp"]
use_arc_str = []