[[example]]
name = "parse_async_read"
path = "examples/parse_async_read.rs"
required-features = ["tokio-io"]
[[example]]
name = "prevent_dos_attack"
path = "examples/prevent_dos_attack.rs"
[[example]]
name = "simple_example"
path = "examples/simple_example.rs"
[[example]]
name = "hyper_server_example"
path = "examples/hyper_server_example.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[build-dependencies.version_check]
version = "0.9"
[dependencies.bytes]
version = "1.0"
[dependencies.encoding_rs]
version = "0.8.20"
[dependencies.futures-util]
default-features = false
version = "0.3"
[dependencies.http]
version = "1.0"
[dependencies.httparse]
version = "1.3"
[dependencies.log]
optional = true
version = "0.4.15"
[dependencies.memchr]
version = "2.4"
[dependencies.mime]
version = "0.3.10"
[dependencies.serde]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.spin]
default-features = false
features = ["spin_mutex"]
version = "0.9"
[dependencies.tokio]
features = []
optional = true
version = "1.0"
[dependencies.tokio-util]
features = ["io"]
optional = true
version = "0.7"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
features = ["server", "http1"]
version = "1.0"
[dev-dependencies.hyper-util]
features = ["full"]
version = "0.1.1"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.tokio]
features = ["full"]
version = "1.0"
[features]
all = ["json"]
default = []
json = ["serde", "serde_json"]
log = ["dep:log"]
tokio-io = ["tokio", "tokio-util"]
[lib]
name = "multer"
path = "src/lib.rs"
[package]
authors = ["Rousan Ali <hello@rousan.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["asynchronous", "web-programming"]
description = "An async parser for `multipart/form-data` content-type in Rust."
edition = "2018"
homepage = "https://github.com/rwf2/multer"
keywords = ["multipart", "multipart-formdata", "multipart-uploads", "async", "formdata"]
license = "MIT"
name = "multer"
readme = "README.md"
repository = "https://github.com/rwf2/multer"
version = "3.1.0"
[package.metadata.docs.rs]
all-features = true
[package.metadata.playground]
features = ["all"]