Bump multer from v1.2.2
to v2.0.0
This commit is contained in:
parent
577c7c5193
commit
1086d279c3
|
@ -39,7 +39,7 @@ serde_json = "1.0.64"
|
||||||
thiserror = "1.0.24"
|
thiserror = "1.0.24"
|
||||||
static_assertions = "1.1.0"
|
static_assertions = "1.1.0"
|
||||||
http = "0.2.3"
|
http = "0.2.3"
|
||||||
multer = "1.2.2"
|
multer = "2.0.0"
|
||||||
tempfile = "3.2.0"
|
tempfile = "3.2.0"
|
||||||
|
|
||||||
# Feature optional dependencies
|
# Feature optional dependencies
|
||||||
|
|
|
@ -43,7 +43,7 @@ pub(super) async fn receive_batch_multipart(
|
||||||
boundary: impl Into<String>,
|
boundary: impl Into<String>,
|
||||||
opts: MultipartOptions,
|
opts: MultipartOptions,
|
||||||
) -> Result<BatchRequest, ParseRequestError> {
|
) -> Result<BatchRequest, ParseRequestError> {
|
||||||
let mut multipart = Multipart::new_with_constraints(
|
let mut multipart = Multipart::with_constraints(
|
||||||
ReaderStream::new(body),
|
ReaderStream::new(body),
|
||||||
boundary,
|
boundary,
|
||||||
Constraints::new().size_limit({
|
Constraints::new().size_limit({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user