]> git.scottworley.com Git - voter/commitdiff
Override cgi dependency with a fixed version
authorScott Worley <scottworley@scottworley.com>
Sun, 20 Nov 2022 07:32:16 +0000 (23:32 -0800)
committerScott Worley <scottworley@scottworley.com>
Sun, 20 Nov 2022 07:32:16 +0000 (23:32 -0800)
Cargo.lock
Cargo.toml

index b7676f2504db869023b43eefaf57d04673cd6a06..72ed542dbdea0275fbcb2f47c9e3c67fedeaa9d4 100644 (file)
@@ -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",
 ]
index 0cb261f83890fc00560729d23302b7bedc68df13..d076652a3f440bfee9aba9c6039d57ab159b3e6a 100644 (file)
@@ -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" }