From d7d8a751d92702baa65798e3cbfd191be16307d2 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 5 Feb 2021 23:13:16 -0800 Subject: [PATCH] Increment hyper versions to pacify cargo audit (#15172) --- Cargo.lock | 26 ++++++++++++++++---------- ci/test-checks.sh | 3 +++ programs/bpf/Cargo.lock | 30 +++++------------------------- 3 files changed, 24 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 22f40cd876..23cf83d513 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1625,6 +1625,12 @@ version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" +[[package]] +name = "httpdate" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" + [[package]] name = "humantime" version = "1.3.0" @@ -1691,9 +1697,9 @@ dependencies = [ [[package]] name = "hyper" -version = "0.13.5" +version = "0.13.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96816e1d921eca64d208a85aab4f7798455a8e34229ee5a88c935bdee1b78b14" +checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" dependencies = [ "bytes 0.5.4", "futures-channel", @@ -1703,13 +1709,13 @@ dependencies = [ "http 0.2.1", "http-body 0.3.1", "httparse", + "httpdate", "itoa", - "log 0.4.11", - "net2", - "pin-project 0.4.23", - "time 0.1.43", + "pin-project 1.0.1", + "socket2", "tokio 0.2.22", "tower-service", + "tracing", "want 0.3.0", ] @@ -1721,7 +1727,7 @@ checksum = "37743cc83e8ee85eacfce90f2f4102030d9ff0a95244098d781e9bee4a90abb6" dependencies = [ "bytes 0.5.4", "futures-util", - "hyper 0.13.5", + "hyper 0.13.10", "log 0.4.11", "rustls", "tokio 0.2.22", @@ -1736,7 +1742,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d979acc56dcb5b8dddba3917601745e877576475aa046df3226eabdecef78eed" dependencies = [ "bytes 0.5.4", - "hyper 0.13.5", + "hyper 0.13.10", "native-tls", "tokio 0.2.22", "tokio-tls 0.3.1", @@ -3232,7 +3238,7 @@ dependencies = [ "futures-util", "http 0.2.1", "http-body 0.3.1", - "hyper 0.13.5", + "hyper 0.13.10", "hyper-rustls", "hyper-tls", "ipnet", @@ -6083,7 +6089,7 @@ dependencies = [ "futures-util", "http 0.2.1", "http-body 0.3.1", - "hyper 0.13.5", + "hyper 0.13.10", "percent-encoding 2.1.0", "pin-project 0.4.23", "prost", diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 8f8c83d45d..5662faaefc 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -84,6 +84,9 @@ cargo_audit_ignores=( # Blocked on predicates v1.0.6 removing its dependency on `difference` --ignore RUSTSEC-2020-0095 + # hyper is upgraded on master/v1.6 but not for v1.5 + --ignore RUSTSEC-2021-0020 + ) _ scripts/cargo-for-all-lock-files.sh +"$rust_stable" audit "${cargo_audit_ignores[@]}" diff --git a/programs/bpf/Cargo.lock b/programs/bpf/Cargo.lock index 405077f137..2d615b28aa 100644 --- a/programs/bpf/Cargo.lock +++ b/programs/bpf/Cargo.lock @@ -888,7 +888,7 @@ dependencies = [ "futures-macro", "futures-task", "memchr", - "pin-project 1.0.1", + "pin-project", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -1096,9 +1096,9 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" [[package]] name = "hyper" -version = "0.13.8" +version = "0.13.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f3afcfae8af5ad0576a31e768415edb627824129e8e5a29b8bfccb2f234e835" +checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" dependencies = [ "bytes 0.5.4", "futures-channel", @@ -1110,7 +1110,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project 0.4.26", + "pin-project", "socket2", "tokio 0.2.21", "tower-service", @@ -1843,33 +1843,13 @@ dependencies = [ "ucd-trie", ] -[[package]] -name = "pin-project" -version = "0.4.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13fbdfd6bdee3dc9be46452f86af4a4072975899cf8592466668620bebfbcc17" -dependencies = [ - "pin-project-internal 0.4.26", -] - [[package]] name = "pin-project" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee41d838744f60d959d7074e3afb6b35c7456d0f61cad38a24e35e6553f73841" dependencies = [ - "pin-project-internal 1.0.1", -] - -[[package]] -name = "pin-project-internal" -version = "0.4.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c82fb1329f632c3552cf352d14427d57a511b1cf41db93b3a7d77906a82dcc8e" -dependencies = [ - "proc-macro2 1.0.24", - "quote 1.0.6", - "syn 1.0.48", + "pin-project-internal", ] [[package]]