From 3efad25c100cb4bde8455704878e24812888e3b3 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sat, 19 Nov 2022 23:32:16 -0800 Subject: [PATCH] Override cgi dependency with a fixed version --- Cargo.lock | 5 ++--- Cargo.toml | 6 +++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b7676f2..72ed542 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,9 +28,8 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "cgi" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a71d44b66aa4d9229907c0126271215210037fc179437a2e92746ba6bc6e0a00" +version = "0.6.1-rc1" +source = "git+https://github.com/chkno/rust-cgi.git?branch=issue18#c0372efb89d60c8e91a66d0a5aaebae4b583c986" dependencies = [ "http", ] diff --git a/Cargo.toml b/Cargo.toml index 0cb261f..d076652 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,10 @@ description = "A simple web page that tracks votes" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cgi = "0" +cgi = "0.6.1-rc1" fd-lock = "3" rand = "0" + +[patch.crates-io] +# For https://github.com/amandasaurus/rust-cgi/issues/18 +cgi = { git = "https://github.com/chkno/rust-cgi.git", branch = "issue18" } -- 2.44.1