diff --git a/Cargo.lock b/Cargo.lock index 161bb5748..d9c0aed75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -65,7 +65,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" dependencies = [ - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -112,10 +112,11 @@ checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" [[package]] name = "assert_cmd" -version = "1.0.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dc1679af9a1ab4bea16f228b05d18f8363f8327b1fa8db00d2760cfafc6b61e" +checksum = "54f002ce7d0c5e809ebb02be78fd503aeed4a511fd0fcaff6e6914cbdabbfa33" dependencies = [ + "bstr", "doc-comment", "predicates", "predicates-core", @@ -169,7 +170,7 @@ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ "hermit-abi", "libc", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -459,9 +460,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "0.2.13" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931" +checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279" dependencies = [ "lazy_static", "memchr", @@ -643,7 +644,7 @@ dependencies = [ "num-traits", "serde", "time 0.1.43", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -757,7 +758,7 @@ dependencies = [ "terminal_size", "termios", "unicode-width", - "winapi 0.3.8", + "winapi 0.3.9", "winapi-util", ] @@ -773,7 +774,7 @@ dependencies = [ "regex", "terminal_size", "unicode-width", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -999,7 +1000,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "232295399409a8b7ae41276757b5a1cc21032848d42bff2352261f958b3ca29a" dependencies = [ "nix", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -1083,10 +1084,10 @@ dependencies = [ ] [[package]] -name = "difference" -version = "2.0.0" +name = "difflib" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" +checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" [[package]] name = "digest" @@ -1133,7 +1134,7 @@ checksum = "99de365f605554ae33f115102a02057d4fc18b01f3284d6870be0938743cfe7d" dependencies = [ "libc", "redox_users", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -1151,7 +1152,7 @@ dependencies = [ "dlopen_derive", "lazy_static", "libc", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -1352,7 +1353,7 @@ checksum = "b8806dd91a06a7a403a8e596f9bfbfb34e469efbc363fc9c9713e79e26472e36" dependencies = [ "cfg-if 1.0.0", "libc", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -1369,7 +1370,7 @@ checksum = "a71e83755e51aa52b9034f1986173783789e8e7d79c3c774adbbb63fb554f2cb" dependencies = [ "libc", "thiserror", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -1381,7 +1382,7 @@ dependencies = [ "cfg-if 0.1.10", "libc", "redox_syscall 0.1.56", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -1562,7 +1563,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.7", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -1606,7 +1607,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e692e296bfac1d2533ef168d0b60ff5897b8b70a4009276834014dd8924cc028" dependencies = [ "libc", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -1688,9 +1689,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.0" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b67e66362108efccd8ac053abafc8b7a8d86a37e6e48fc4f6f7485eb5e9e6a5" +checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726" dependencies = [ "bytes 1.0.1", "fnv", @@ -1703,7 +1704,6 @@ dependencies = [ "tokio 1.9.0", "tokio-util 0.6.3", "tracing", - "tracing-futures", ] [[package]] @@ -1850,20 +1850,20 @@ checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9" dependencies = [ "bytes 1.0.1", "http", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.7", ] [[package]] name = "httparse" -version = "1.3.4" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" +checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68" [[package]] name = "httpdate" -version = "0.3.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" +checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440" [[package]] name = "humantime" @@ -1892,9 +1892,9 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.3" +version = "0.14.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee5fc98172988e4394a3094002a75125e8fb864a88318732e8b613ec5adbda3" +checksum = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11" dependencies = [ "bytes 1.0.1", "futures-channel", @@ -1906,8 +1906,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.4", - "socket2", + "pin-project-lite 0.2.7", + "socket2 0.4.1", "tokio 1.9.0", "tower-service", "tracing", @@ -1921,7 +1921,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" dependencies = [ "futures-util", - "hyper 0.14.3", + "hyper 0.14.11", "log 0.4.14", "rustls", "tokio 1.9.0", @@ -1935,8 +1935,8 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" dependencies = [ - "hyper 0.14.3", - "pin-project-lite 0.2.4", + "hyper 0.14.11", + "pin-project-lite 0.2.7", "tokio 1.9.0", "tokio-io-timeout", ] @@ -1948,7 +1948,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes 1.0.1", - "hyper 0.14.3", + "hyper 0.14.11", "native-tls", "tokio 1.9.0", "tokio-native-tls", @@ -2189,7 +2189,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff" dependencies = [ "futures 0.3.16", - "hyper 0.14.3", + "hyper 0.14.11", "jsonrpc-core 18.0.0", "jsonrpc-server-utils 18.0.0", "log 0.4.14", @@ -2371,7 +2371,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a" dependencies = [ "cfg-if 1.0.0", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -2603,7 +2603,7 @@ dependencies = [ "log 0.4.14", "miow 0.3.7", "ntapi", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -2627,7 +2627,7 @@ dependencies = [ "log 0.4.14", "mio 0.6.22", "miow 0.3.7", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -2659,7 +2659,7 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" dependencies = [ - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -2694,7 +2694,7 @@ checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" dependencies = [ "cfg-if 0.1.10", "libc", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -2728,7 +2728,7 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a31937dea023539c72ddae0e3571deadc1414b300483fa7aaec176168cfa9d2" dependencies = [ - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -2929,7 +2929,7 @@ dependencies = [ "miow 0.3.7", "rand 0.7.3", "tokio 0.2.24", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -2943,7 +2943,7 @@ dependencies = [ "log 0.4.14", "rand 0.7.3", "tokio 1.9.0", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3008,7 +3008,7 @@ dependencies = [ "redox_syscall 0.1.56", "rustc_version 0.2.3", "smallvec 0.6.14", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3022,7 +3022,7 @@ dependencies = [ "libc", "redox_syscall 0.1.56", "smallvec 1.6.1", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3037,7 +3037,7 @@ dependencies = [ "libc", "redox_syscall 0.1.56", "smallvec 1.6.1", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3157,9 +3157,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.4" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827" +checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443" [[package]] name = "pin-utils" @@ -3187,11 +3187,12 @@ checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea" [[package]] name = "predicates" -version = "1.0.4" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "347a1b6f0b21e636bc9872fb60b83b8e185f6f5516298b8238699f7f9a531030" +checksum = "bc3d91237f5de3bcd9d927e24d03b495adb6135097b001cea7403e2d573d00a9" dependencies = [ - "difference", + "difflib", + "itertools 0.10.1", "predicates-core", ] @@ -3406,7 +3407,7 @@ dependencies = [ "libc", "rand_core 0.3.1", "rdrand", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3425,7 +3426,7 @@ dependencies = [ "rand_os", "rand_pcg 0.1.2", "rand_xorshift 0.1.1", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3561,7 +3562,7 @@ checksum = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b" dependencies = [ "libc", "rand_core 0.4.2", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3575,7 +3576,7 @@ dependencies = [ "libc", "rand_core 0.4.2", "rdrand", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3738,7 +3739,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfc5b3ce5d5ea144bb04ebd093a9e14e9765bcfec866aecda9b6dec43b3d1e24" dependencies = [ - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3754,7 +3755,7 @@ dependencies = [ "futures-util", "http", "http-body", - "hyper 0.14.3", + "hyper 0.14.11", "hyper-rustls", "hyper-tls", "ipnet", @@ -3764,7 +3765,7 @@ dependencies = [ "mime 0.3.16", "native-tls", "percent-encoding 2.1.0", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.7", "rustls", "serde", "serde_json", @@ -3798,7 +3799,7 @@ dependencies = [ "spin", "untrusted", "web-sys", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3818,7 +3819,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb" dependencies = [ "libc", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -3922,7 +3923,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" dependencies = [ "lazy_static", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -4287,7 +4288,17 @@ dependencies = [ "cfg-if 1.0.0", "libc", "redox_syscall 0.1.56", - "winapi 0.3.8", + "winapi 0.3.9", +] + +[[package]] +name = "socket2" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad" +dependencies = [ + "libc", + "winapi 0.3.9", ] [[package]] @@ -4760,7 +4771,7 @@ dependencies = [ "serde", "syn 0.15.44", "syn 1.0.67", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -5013,7 +5024,7 @@ dependencies = [ "tar", "tempfile", "url 2.2.2", - "winapi 0.3.8", + "winapi 0.3.9", "winreg 0.9.0", ] @@ -5257,7 +5268,7 @@ dependencies = [ "rand 0.7.3", "serde", "serde_derive", - "socket2", + "socket2 0.3.17", "solana-clap-utils", "solana-logger 1.8.0", "solana-sdk", @@ -5516,7 +5527,6 @@ dependencies = [ "solana-validator", "solana-version", "solana-vote-program", - "tempdir", "tempfile", ] @@ -6215,7 +6225,7 @@ dependencies = [ "libc", "nom", "time 0.1.43", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -6270,16 +6280,6 @@ dependencies = [ "syn 1.0.67", ] -[[package]] -name = "tempdir" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" -dependencies = [ - "rand 0.4.6", - "remove_dir_all", -] - [[package]] name = "tempfile" version = "3.2.0" @@ -6291,7 +6291,7 @@ dependencies = [ "rand 0.8.3", "redox_syscall 0.2.8", "remove_dir_all", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -6310,7 +6310,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86ca8ced750734db02076f44132d802af0b33b09942331f4459dde8636fd2406" dependencies = [ "libc", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -6382,7 +6382,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" dependencies = [ "libc", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -6397,7 +6397,7 @@ dependencies = [ "stdweb", "time-macros", "version_check 0.9.2", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -6515,10 +6515,10 @@ dependencies = [ "num_cpus", "once_cell", "parking_lot 0.11.1", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.7", "signal-hook-registry", "tokio-macros 1.2.0", - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -6559,7 +6559,7 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9" dependencies = [ - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.7", "tokio 1.9.0", ] @@ -6647,7 +6647,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f" dependencies = [ "futures-core", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.7", "tokio 1.9.0", ] @@ -6710,7 +6710,7 @@ dependencies = [ "futures-core", "futures-sink", "log 0.4.14", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.7", "slab", "tokio 1.9.0", ] @@ -6739,7 +6739,7 @@ dependencies = [ "h2", "http", "http-body", - "hyper 0.14.3", + "hyper 0.14.11", "hyper-timeout", "percent-encoding 2.1.0", "pin-project 1.0.7", @@ -6808,7 +6808,7 @@ checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d" dependencies = [ "cfg-if 1.0.0", "log 0.4.14", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.7", "tracing-attributes", "tracing-core", ] @@ -7106,7 +7106,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" dependencies = [ "same-file", - "winapi 0.3.8", + "winapi 0.3.9", "winapi-util", ] @@ -7282,9 +7282,9 @@ checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" [[package]] name = "winapi" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" dependencies = [ "winapi-i686-pc-windows-gnu", "winapi-x86_64-pc-windows-gnu", @@ -7308,7 +7308,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -7323,7 +7323,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" dependencies = [ - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] @@ -7332,7 +7332,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16cdb3898397cf7f624c294948669beafaeebc5577d5ec53d0afb76633593597" dependencies = [ - "winapi 0.3.8", + "winapi 0.3.9", ] [[package]] diff --git a/ci/do-audit.sh b/ci/do-audit.sh index b6c1b86be..cbe09be77 100755 --- a/ci/do-audit.sh +++ b/ci/do-audit.sh @@ -28,16 +28,29 @@ cargo_audit_ignores=( # Blocked on multiple crates updating `time` to >= 0.2.23 --ignore RUSTSEC-2020-0071 - # difference is unmaintained - # - # Blocked on predicates v1.0.6 removing its dependency on `difference` - --ignore RUSTSEC-2020-0095 - # generic-array: arr! macro erases lifetimes # # Blocked on libsecp256k1 releasing with upgraded dependencies # https://github.com/paritytech/libsecp256k1/issues/66 --ignore RUSTSEC-2020-0146 + # hyper: Lenient `hyper` header parsing of `Content-Length` could allow request smuggling + # + # Blocked on jsonrpc removing dependency on unmaintained `websocket` + # https://github.com/paritytech/jsonrpc/issues/605 + --ignore RUSTSEC-2021-0078 + + # hyper: Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss + # + # Blocked on jsonrpc removing dependency on unmaintained `websocket` + # https://github.com/paritytech/jsonrpc/issues/605 + --ignore RUSTSEC-2021-0079 + + # tar: Links in archive can create arbitrary directories + # + # Blocked on `tar` releasing safe upgrade + # https://github.com/alexcrichton/tar-rs/issues/238 + --ignore RUSTSEC-2021-0080 + ) scripts/cargo-for-all-lock-files.sh stable audit "${cargo_audit_ignores[@]}" diff --git a/ledger-tool/Cargo.toml b/ledger-tool/Cargo.toml index 6cd77730b..3dc0d5e30 100644 --- a/ledger-tool/Cargo.toml +++ b/ledger-tool/Cargo.toml @@ -41,7 +41,7 @@ tempfile = "3.2.0" tokio = { version = "1", features = ["full"] } [dev-dependencies] -assert_cmd = "1.0" +assert_cmd = "2.0" [target."cfg(unix)".dependencies] signal-hook = "0.2.3" diff --git a/programs/bpf/Cargo.lock b/programs/bpf/Cargo.lock index 41b431cc9..b0cc83b91 100644 --- a/programs/bpf/Cargo.lock +++ b/programs/bpf/Cargo.lock @@ -1017,9 +1017,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d832b01df74254fe364568d6ddc294443f61cbec82816b60904303af87efae78" +checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726" dependencies = [ "bytes 1.0.1", "fnv", @@ -1148,15 +1148,15 @@ dependencies = [ [[package]] name = "httparse" -version = "1.3.4" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" +checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68" [[package]] name = "httpdate" -version = "0.3.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" +checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440" [[package]] name = "humantime" @@ -1166,9 +1166,9 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" [[package]] name = "hyper" -version = "0.14.4" +version = "0.14.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8e946c2b1349055e0b72ae281b238baf1a3ea7307c7e9f9d64673bdd9c26ac7" +checksum = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11" dependencies = [ "bytes 1.0.1", "futures-channel", @@ -1180,8 +1180,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project", - "socket2", + "pin-project-lite 0.2.4", + "socket2 0.4.1", "tokio", "tower-service", "tracing", @@ -2382,6 +2382,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "socket2" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "solana-account-decoder" version = "1.8.0" @@ -3029,7 +3039,7 @@ dependencies = [ "rand 0.7.3", "serde", "serde_derive", - "socket2", + "socket2 0.3.17", "solana-clap-utils", "solana-logger 1.8.0", "solana-sdk", @@ -4058,9 +4068,9 @@ dependencies = [ [[package]] name = "winapi" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" dependencies = [ "winapi-i686-pc-windows-gnu", "winapi-x86_64-pc-windows-gnu", diff --git a/replica-node/Cargo.toml b/replica-node/Cargo.toml index 19aa3872b..e678c2585 100644 --- a/replica-node/Cargo.toml +++ b/replica-node/Cargo.toml @@ -46,7 +46,6 @@ solana-local-cluster = { path = "../local-cluster", version = "=1.8.0" } solana-vote-program = { path = "../programs/vote", version = "=1.8.0" } assert_matches = "1.5.0" serial_test = "0.5.1" -tempdir = "0.3.7" tempfile = "3.2.0"