tests/inst: Update hyper-staticfile to 0.9.4
authorDan Nicholson <dbn@endlessos.org>
Tue, 24 Jan 2023 20:18:44 +0000 (13:18 -0700)
committerDan Nicholson <dbn@endlessos.org>
Tue, 24 Jan 2023 20:20:10 +0000 (13:20 -0700)
Due to some vulnerabilities[1][2], all versions prior to 0.9.4 have been
yanked from crates.io. There have been some API changes since 0.6.0, but
none of them affect the simple `hyper_staticfile::Static` usage here.

1. https://rustsec.org/advisories/RUSTSEC-2022-0069.html
2. https://rustsec.org/advisories/RUSTSEC-2022-0072.html

tests/inst/Cargo.toml

index a3d211a03c463d566e7ad1bed366a9e5d1669057..02fc3cbfce6017898fe52c8459a01f8e1302f7ba 100644 (file)
@@ -24,7 +24,7 @@ ostree-ext = { version = "0.9" }
 libtest-mimic = "0.5.0"
 twoway = "0.2.1"
 hyper = { version = "0.14", features = ["runtime", "http1", "http2", "tcp", "server"] }
-hyper-staticfile = "0.6.0"
+hyper-staticfile = "0.9.4"
 futures = "0.3.4"
 http = "0.2.0"
 tokio = { version = "1.4.0", features = ["full"] }