From 98cd3cfa12253e192d993e3026efb9c1261ea98c Mon Sep 17 00:00:00 2001 From: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> Date: Thu, 29 Oct 2020 19:46:11 +0100 Subject: [PATCH] Fix a panic in actix-web normalize middleware (#294) * Fix a panic in actix-web normalize middleware * Cleanup dependencies --- backend/Cargo.lock | 3 +-- backend/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 685fe76..d30d22f 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -239,8 +239,7 @@ dependencies = [ [[package]] name = "actix-web" version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1b12fe25e11cd9ed2ef2e428427eb6178a1b363f3f7f0dab8278572f11b2da1" +source = "git+https://github.com/maciejhirsz/actix-web?branch=no-panic-normalize#89791b4df12295bf0145d0402a059d1315cd90ff" dependencies = [ "actix-codec", "actix-http", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 8b953e0..27651bf 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -27,3 +27,6 @@ clap = "3.0.0-beta.2" [profile.release] lto = true panic = "abort" + +[patch.crates-io] +actix-web = { git = "https://github.com/maciejhirsz/actix-web", branch = "no-panic-normalize" } \ No newline at end of file