From 2084145dd3cb92d55470b5df2a181450475aa8ea Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Fri, 7 Jan 2022 05:12:29 +0900 Subject: [PATCH] Upgrade multipart --- Cargo.lock | 27 +++++++-------------------- Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d43e5c6a..5a8734ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2375,18 +2375,6 @@ version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" -[[package]] -name = "mime_guess" -version = "1.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216929a5ee4dd316b1702eedf5e74548c123d370f47841ceaac38ca154690ca3" -dependencies = [ - "mime 0.2.6", - "phf", - "phf_codegen", - "unicase 1.4.2", -] - [[package]] name = "mime_guess" version = "2.0.3" @@ -2490,17 +2478,17 @@ dependencies = [ [[package]] name = "multipart" -version = "0.16.1" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136eed74cadb9edd2651ffba732b19a450316b680e4f48d6c79e905799e19d01" +checksum = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182" dependencies = [ "buf_redux", "httparse", "log 0.4.14", - "mime 0.2.6", - "mime_guess 1.8.8", + "mime 0.3.16", + "mime_guess", "quick-error", - "rand 0.6.5", + "rand 0.8.4", "safemem", "tempfile", "twoway", @@ -2928,7 +2916,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "234f71a15de2288bcb7e3b6515828d22af7ec8598ee6d24c3b526fa0a80b67a0" dependencies = [ "siphasher", - "unicase 1.4.2", ] [[package]] @@ -3654,7 +3641,7 @@ dependencies = [ "hyper-tls 0.3.2", "log 0.4.14", "mime 0.3.16", - "mime_guess 2.0.3", + "mime_guess", "native-tls", "serde 1.0.133", "serde_json", @@ -3691,7 +3678,7 @@ dependencies = [ "lazy_static", "log 0.4.14", "mime 0.3.16", - "mime_guess 2.0.3", + "mime_guess", "native-tls", "percent-encoding 2.1.0", "pin-project-lite 0.2.8", diff --git a/Cargo.toml b/Cargo.toml index 53908e91..8117f297 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ version = "1.4.5" [dependencies.multipart] default-features = false features = ["server"] -version = "0.16" +version = "0.18" [dependencies.plume-api] path = "plume-api"