From: Scott Worley Date: Sun, 20 Nov 2022 07:32:16 +0000 (-0800) Subject: Override cgi dependency with a fixed version X-Git-Tag: v0.2.2~1 X-Git-Url: http://git.scottworley.com/voter/commitdiff_plain/3efad25c100cb4bde8455704878e24812888e3b3 Override cgi dependency with a fixed version --- 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" }