From 953766b6b4a71d7713538b5c28ccf9b17491cf1b Mon Sep 17 00:00:00 2001 From: lifegpc Date: Mon, 13 Mar 2023 11:09:49 +0000 Subject: [PATCH] Fix packages will be rejected by a future version of the rust --- Cargo.lock | 5 ++--- Cargo.toml | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e2175b..386cf61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -194,8 +194,7 @@ dependencies = [ [[package]] name = "buf_redux" version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f" +source = "git+https://github.com/lifegpc/buf_redux#cf2f433e51c356830dface0d0baa92f13c0b9ca7" dependencies = [ "memchr", "safemem", @@ -1106,7 +1105,7 @@ dependencies = [ [[package]] name = "multipart" version = "0.18.0" -source = "git+https://github.com/lifegpc/multipart#8275a9008f6d355d3cd433eb9bc4b20f25eec3bd" +source = "git+https://github.com/lifegpc/multipart#f82bff2c94547151c84b5a94cd0919a220678345" dependencies = [ "buf_redux", "httparse", diff --git a/Cargo.toml b/Cargo.toml index c129bfd..3215d10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,6 +60,7 @@ server = ["async-trait", "base64", "db", "hex", "hyper", "multipart", "openssl"] ugoira = ["avdict", "bindgen", "cmake", "link-cplusplus"] [patch.crates-io] +buf_redux = { git = "https://github.com/lifegpc/buf_redux" } openssl = { git = "https://github.com/lifegpc/rust-openssl" } openssl-sys = { git = "https://github.com/lifegpc/rust-openssl" } native-tls = { git = "https://github.com/lifegpc/rust-native-tls" }