Files
Notes/notes-service/vendor/multer/Cargo.toml
T
2026-08-01 16:11:49 +03:00

156 lines
2.8 KiB
TOML

# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
name = "multer"
version = "3.1.0"
authors = ["Rousan Ali <hello@rousan.io>"]
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An async parser for `multipart/form-data` content-type in Rust."
homepage = "https://github.com/rwf2/multer"
readme = "README.md"
keywords = [
"multipart",
"multipart-formdata",
"multipart-uploads",
"async",
"formdata",
]
categories = [
"asynchronous",
"web-programming",
]
license = "MIT"
repository = "https://github.com/rwf2/multer"
[package.metadata.docs.rs]
all-features = true
[package.metadata.playground]
features = ["all"]
[lib]
name = "multer"
path = "src/lib.rs"
[[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"
[dependencies.bytes]
version = "1.0"
[dependencies.encoding_rs]
version = "0.8.20"
[dependencies.futures-util]
version = "0.3"
default-features = false
[dependencies.http]
version = "1.0"
[dependencies.httparse]
version = "1.3"
[dependencies.log]
version = "0.4.15"
optional = true
[dependencies.memchr]
version = "2.4"
[dependencies.mime]
version = "0.3.10"
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.spin]
version = "0.9"
features = ["spin_mutex"]
default-features = false
[dependencies.tokio]
version = "1.0"
features = []
optional = true
[dependencies.tokio-util]
version = "0.7"
features = ["io"]
optional = true
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1.0"
features = [
"server",
"http1",
]
[dev-dependencies.hyper-util]
version = "0.1.1"
features = ["full"]
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.tokio]
version = "1.0"
features = ["full"]
[build-dependencies.version_check]
version = "0.9"
[features]
all = ["json"]
default = []
json = [
"serde",
"serde_json",
]
log = ["dep:log"]
tokio-io = [
"tokio",
"tokio-util",
]