[package]
name = "multipart3"
version = "0.2.0"
edition = "2024"
authors = ["Daniel Gallups <dan@peacher.app>"]
description = "A fork fork of a backend-agnostic extension for HTTP libraries that provides support for POST multipart/form-data requests on both client and server."
keywords = ["form-data", "http", "upload"]
repository = "https://github.com/PeacherApp/multipart3"
documentation = "http://docs.rs/multipart3/"
license = "MIT OR Apache-2.0"
readme = "README.md"
[dependencies]
log = "0.4"
mime = "0.3.14"
mime_guess = "2.0.5"
rand = "0.9"
safemem = { version = "0.3", optional = true }
tempfile = "3"
buffer-redux = { version = "1.0", optional = true, default-features = false }
httparse = { version = "1.2", optional = true }
twoway = { version = "0.2", optional = true }
thiserror = { version = "2.0", optional = true }
tiny_http = { version = "0.12", optional = true }
[dev-dependencies]
env_logger = "0.11"
[features]
client = []
default = ["client", "mock", "server", "tiny_http"]
server = ["buffer-redux", "httparse", "thiserror", "safemem", "twoway"]
mock = []
[[example]]
name = "tiny_http"
required-features = ["mock", "tiny_http", "server"]