From 24e388f19605a5f35e45d9fdebe24fa3d3e000e7 Mon Sep 17 00:00:00 2001 From: Nick Gheorghita Date: Mon, 3 Jan 2022 09:36:27 +0000 Subject: [PATCH 1/3] Update discv5 dependency version --- Cargo.lock | 275 ++++++++++++++++++---------------- Cargo.toml | 4 - ethportal-peertest/Cargo.toml | 5 +- trin-core/Cargo.toml | 5 +- trin-history/Cargo.toml | 5 +- trin-state/Cargo.toml | 5 +- 6 files changed, 153 insertions(+), 146 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d84091411..f9daf9c96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,37 +13,31 @@ dependencies = [ [[package]] name = "aes" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495ee669413bfbe9e8cace80f4d3d78e6d8c8d99579f97fb93bde351b185f2d4" +checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" dependencies = [ "cfg-if 1.0.0", "cipher", - "cpufeatures", - "ctr 0.7.0", + "cpufeatures 0.2.1", + "ctr", "opaque-debug", ] [[package]] name = "aes-gcm" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a930fd487faaa92a30afa92cc9dd1526a5cff67124abbbb1c617ce070f4dcf" +checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" dependencies = [ "aead", "aes", "cipher", - "ctr 0.8.0", + "ctr", "ghash", "subtle", ] -[[package]] -name = "ahash" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e" - [[package]] name = "ahash" version = "0.7.4" @@ -93,9 +87,9 @@ dependencies = [ [[package]] name = "arrayvec" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd" +checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" [[package]] name = "async-stream" @@ -203,6 +197,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1d36a02058e76b040de25a4464ba1c80935655595b661505c8b39b664828b95" +dependencies = [ + "generic-array", +] + [[package]] name = "block-padding" version = "0.2.1" @@ -372,6 +375,15 @@ dependencies = [ "libc", ] +[[package]] +name = "cpufeatures" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469" +dependencies = [ + "libc", +] + [[package]] name = "crc" version = "1.8.1" @@ -405,22 +417,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] -name = "crypto-mac" -version = "0.11.0" +name = "crypto-common" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" +checksum = "683d6b536309245c849479fba3da410962a43ed8e51c26b729208ec0ac2798d0" dependencies = [ "generic-array", - "subtle", ] [[package]] -name = "ctr" -version = "0.7.0" +name = "crypto-mac" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a232f92a03f37dd7d7dd2adc67166c77e9cd88de5b019b9a9eecfaeaf7bfd481" +checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" dependencies = [ - "cipher", + "generic-array", + "subtle", ] [[package]] @@ -449,7 +461,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "639891fde0dbea823fc3d798a0fdf9d2f9440a42d64a78ab3488b0ca025117b3" dependencies = [ "byteorder", - "digest", + "digest 0.9.0", "rand_core 0.5.1", "subtle", "zeroize", @@ -509,6 +521,17 @@ dependencies = [ "generic-array", ] +[[package]] +name = "digest" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b697d66081d42af4fba142d56918a3cb21dc8eb63372c6b85d14f44fb9c5979b" +dependencies = [ + "block-buffer 0.10.0", + "crypto-common", + "generic-array", +] + [[package]] name = "directories" version = "3.0.2" @@ -531,16 +554,17 @@ dependencies = [ [[package]] name = "discv5" -version = "0.1.0-beta.11" -source = "git+https://github.com/sigp/discv5?branch=master#06e8af6e80bb4cacb909ff8a4637187d7bf9f7df" +version = "0.1.0-beta.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed8f54486179d5a7f11e1f5526f49d925a411a96c1141a707bd5f071be2ab630" dependencies = [ "aes", "aes-gcm", "arrayvec", - "digest", + "digest 0.10.1", "enr", "fnv", - "futures 0.3.17", + "futures 0.3.19", "hashlink", "hex", "hkdf", @@ -548,14 +572,14 @@ dependencies = [ "lru", "parking_lot 0.11.2", "rand 0.8.4", - "rlp 0.5.0", + "rlp 0.5.1", "sha2", - "smallvec 1.6.1", + "smallvec 1.7.0", "tokio", "tokio-stream", "tokio-util", "tracing", - "tracing-subscriber", + "tracing-subscriber 0.3.5", "uint 0.9.1", "zeroize", ] @@ -625,7 +649,7 @@ dependencies = [ "k256", "log 0.4.14", "rand 0.8.4", - "rlp 0.5.0", + "rlp 0.5.1", "serde", "sha3", "zeroize", @@ -650,7 +674,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b67737df7e3769e823d9d583eb5d60bcc4b2ef97ca674d1964ef287a02f8517" dependencies = [ - "cpufeatures", + "cpufeatures 0.1.5", "lazy_static 1.4.0", "ring", "sha2", @@ -674,7 +698,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "948e343aa022785c07193f41ed37adfd9dd0350368060803b8302c7f798e8306" dependencies = [ "ethereum-types 0.12.1", - "smallvec 1.6.1", + "smallvec 1.7.0", ] [[package]] @@ -794,7 +818,7 @@ dependencies = [ "thiserror", "tokio", "tracing", - "tracing-subscriber", + "tracing-subscriber 0.2.19", "trin", "trin-core", "trin-history", @@ -900,9 +924,9 @@ checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12aa0eb539080d55c3f2d45a67c3b58b6b0773c1a3ca2dfec66d58c97fd66ca" +checksum = "28560757fe2bb34e79f907794bb6b22ae8b0e5c669b638a1132f2592b19035b4" dependencies = [ "futures-channel", "futures-core", @@ -915,9 +939,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888" +checksum = "ba3dda0b6588335f360afc675d0564c17a77a2bda81ca178a4b6081bd86c7f0b" dependencies = [ "futures-core", "futures-sink", @@ -925,15 +949,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d" +checksum = "d0c8ff0461b82559810cdccfde3215c3f373807f5e5232b71479bff7bb2583d7" [[package]] name = "futures-executor" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45025be030969d763025784f7f355043dc6bc74093e4ecc5000ca4dc50d8745c" +checksum = "29d6d2ff5bb10fb95c85b8ce46538a2e5f5e7fdc755623a7d4529ab8a4ed9d2a" dependencies = [ "futures-core", "futures-task", @@ -942,18 +966,16 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "522de2a0fe3e380f1bc577ba0474108faf3f6b18321dbf60b3b9c39a75073377" +checksum = "b1f9d34af5a1aac6fb380f735fe510746c38067c5bf16c7fd250280503c971b2" [[package]] name = "futures-macro" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18e4a4b95cea4b4ccbcf1c5675ca7c4ee4e9e75eb79944d07defde18068f79bb" +checksum = "6dbd947adfffb0efc70599b3ddcf7b5597bb5fa9e245eb99f62b3a5f7bb8bd3c" dependencies = [ - "autocfg 1.0.1", - "proc-macro-hack", "proc-macro2", "quote", "syn", @@ -961,23 +983,22 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11" +checksum = "e3055baccb68d74ff6480350f8d6eb8fcfa3aa11bdc1a1ae3afdd0514617d508" [[package]] name = "futures-task" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d3d00f4eddb73e498a54394f228cd55853bdf059259e8e7bc6e69d408892e99" +checksum = "6ee7c6485c30167ce4dfb83ac568a849fe53274c831081476ee13e0dce1aad72" [[package]] name = "futures-util" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36568465210a3a6ee45e1f165136d68671471a501e632e9a98d96872222b5481" +checksum = "d9b5cf40b47a271f77a8b1bec03ca09044d99d2372c0de244e66430761127164" dependencies = [ - "autocfg 1.0.1", "futures-channel", "futures-core", "futures-io", @@ -987,8 +1008,6 @@ dependencies = [ "memchr", "pin-project-lite", "pin-utils", - "proc-macro-hack", - "proc-macro-nested", "slab", ] @@ -1091,22 +1110,13 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29fba9abe4742d586dfd0c06ae4f7e73a1c2d86b856933509b269d82cdf06e18" -[[package]] -name = "hashbrown" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" -dependencies = [ - "ahash 0.4.7", -] - [[package]] name = "hashbrown" version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" dependencies = [ - "ahash 0.7.4", + "ahash", ] [[package]] @@ -1157,7 +1167,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01706d578d5c281058480e673ae4086a9f4710d8df1ad80a5b03e39ece5f886b" dependencies = [ - "digest", + "digest 0.9.0", "hmac", ] @@ -1168,7 +1178,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" dependencies = [ "crypto-mac", - "digest", + "digest 0.9.0", ] [[package]] @@ -1282,7 +1292,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" dependencies = [ - "rlp 0.5.0", + "rlp 0.5.1", ] [[package]] @@ -1539,11 +1549,11 @@ dependencies = [ [[package]] name = "lru" -version = "0.6.5" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f374d42cdfc1d7dbf3d3dec28afab2eb97ffbf43a3234d795b5986dbf4b90ba" +checksum = "274353858935c992b13c0ca408752e2121da852d07dec7ce5f108c77dfa14d1f" dependencies = [ - "hashbrown 0.9.1", + "hashbrown 0.11.2", ] [[package]] @@ -1555,6 +1565,15 @@ dependencies = [ "regex-automata", ] +[[package]] +name = "matchers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +dependencies = [ + "regex-automata", +] + [[package]] name = "matches" version = "0.1.8" @@ -1884,7 +1903,7 @@ dependencies = [ "instant", "libc", "redox_syscall 0.2.8", - "smallvec 1.6.1", + "smallvec 1.7.0", "winapi 0.3.9", ] @@ -1961,7 +1980,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e597450cbf209787f0e6de80bf3795c6b2356a380ee87837b545aded8dbc1823" dependencies = [ "cfg-if 1.0.0", - "cpufeatures", + "cpufeatures 0.1.5", "opaque-debug", "universal-hash", ] @@ -2019,18 +2038,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "proc-macro-hack" -version = "0.5.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" - -[[package]] -name = "proc-macro-nested" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" - [[package]] name = "proc-macro2" version = "1.0.29" @@ -2381,9 +2388,9 @@ dependencies = [ [[package]] name = "rlp" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e54369147e3e7796c9b885c7304db87ca3d09a0a98f72843d532868675bbfba8" +checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5" dependencies = [ "bytes 1.1.0", "rustc-hex", @@ -2424,7 +2431,7 @@ dependencies = [ "hashlink", "libsqlite3-sys", "memchr", - "smallvec 1.6.1", + "smallvec 1.7.0", ] [[package]] @@ -2556,10 +2563,10 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12" dependencies = [ - "block-buffer", + "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures", - "digest", + "cpufeatures 0.1.5", + "digest 0.9.0", "opaque-debug", ] @@ -2569,8 +2576,8 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" dependencies = [ - "block-buffer", - "digest", + "block-buffer 0.9.0", + "digest 0.9.0", "keccak", "opaque-debug", ] @@ -2605,7 +2612,7 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f0242b8e50dd9accdd56170e94ca1ebd223b098eb9c83539a6e367d0f36ae68" dependencies = [ - "digest", + "digest 0.9.0", "rand_core 0.6.2", ] @@ -2626,9 +2633,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" +checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309" [[package]] name = "socket2" @@ -2881,11 +2888,10 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.14.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70e992e41e0d2fb9f755b37446f20900f64446ef54874f40a60c78f021ac6144" +checksum = "fbbf1c778ec206785635ce8ad57fe52b3009ae9e0c9f574a728f3049d3e55838" dependencies = [ - "autocfg 1.0.1", "bytes 1.1.0", "libc", "memchr", @@ -2933,9 +2939,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9efc1aba077437943f7515666aa2b882dfabfbfdf89c819ea75a8d6e9eaba5e" +checksum = "b557f72f448c511a979e2564e55d74e6c4432fc96ff4f6241bc6bded342643b7" dependencies = [ "proc-macro2", "quote", @@ -2963,9 +2969,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f" +checksum = "50145484efff8818b5ccd256697f36863f587da82cf8b409c53adf1e840798e3" dependencies = [ "futures-core", "pin-project-lite", @@ -3024,9 +3030,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.6.8" +version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d3725d3efa29485e87311c5b699de63cde14b00ed4d256b8318aa30ca452cd" +checksum = "9e99e1983e5d376cd8eb4b66604d2e99e79f5bd988c3055891dcd8c9e2604cc0" dependencies = [ "bytes 1.1.0", "futures-core", @@ -3054,9 +3060,9 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" -version = "0.1.26" +version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d" +checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" dependencies = [ "cfg-if 1.0.0", "log 0.4.14", @@ -3067,9 +3073,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.15" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2" +checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e" dependencies = [ "proc-macro2", "quote", @@ -3078,9 +3084,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.18" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9ff14f98b1a4b289c6248a023c1c2fa1491062964e9fed67ab29c4e4da4a052" +checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4" dependencies = [ "lazy_static 1.4.0", ] @@ -3125,12 +3131,12 @@ dependencies = [ "ansi_term 0.12.1", "chrono", "lazy_static 1.4.0", - "matchers", + "matchers 0.0.1", "regex 1.5.4", "serde", "serde_json", "sharded-slab", - "smallvec 1.6.1", + "smallvec 1.7.0", "thread_local 1.1.3", "tracing", "tracing-core", @@ -3138,6 +3144,24 @@ dependencies = [ "tracing-serde", ] +[[package]] +name = "tracing-subscriber" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d81bfa81424cc98cb034b837c985b7a290f592e5b4322f353f94a0ab0f9f594" +dependencies = [ + "ansi_term 0.12.1", + "lazy_static 1.4.0", + "matchers 0.1.0", + "regex 1.5.4", + "sharded-slab", + "smallvec 1.7.0", + "thread_local 1.1.3", + "tracing", + "tracing-core", + "tracing-log", +] + [[package]] name = "trackable" version = "0.2.24" @@ -3175,19 +3199,18 @@ checksum = "3f9c8a86fad3169a65aad2265d3c6a8bc119d0b771046af3c1b2fb0e9b12182b" dependencies = [ "eth2_hashing", "ethereum-types 0.12.1", - "smallvec 1.6.1", + "smallvec 1.7.0", ] [[package]] name = "trin" version = "0.1.0" dependencies = [ - "discv5", "ethportal-peertest", "log 0.4.14", "tokio", "tracing", - "tracing-subscriber", + "tracing-subscriber 0.2.19", "trin-cli", "trin-core", "trin-history", @@ -3219,7 +3242,7 @@ dependencies = [ "eth2_ssz", "eth2_ssz_derive", "eth2_ssz_types", - "futures 0.3.17", + "futures 0.3.19", "hex", "httparse", "interfaces", @@ -3227,7 +3250,7 @@ dependencies = [ "log 0.4.14", "parking_lot 0.11.2", "rand 0.8.4", - "rlp 0.5.0", + "rlp 0.5.1", "rocksdb", "rstest", "rusqlite", @@ -3259,13 +3282,13 @@ dependencies = [ "hex", "keccak-hash", "log 0.4.14", - "rlp 0.5.0", + "rlp 0.5.1", "rocksdb", "serde_json", "sha3", "tokio", "tracing", - "tracing-subscriber", + "tracing-subscriber 0.2.19", "trin-core", ] @@ -3283,7 +3306,7 @@ dependencies = [ "tokio", "tracing", "tracing-futures", - "tracing-subscriber", + "tracing-subscriber 0.2.19", "trin-core", ] @@ -3677,9 +3700,9 @@ checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" [[package]] name = "zeroize" -version = "1.3.0" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +checksum = "d68d9dcec5f9b43a30d38c49f91dfedfaac384cb8f085faca366c26207dd1619" dependencies = [ "zeroize_derive", ] diff --git a/Cargo.toml b/Cargo.toml index 0f74346a0..711eaf360 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,6 @@ trin-history = { path = "trin-history" } trin-state = { path = "trin-state" } trin-cli = { path = "trin-cli" } -[dependencies.discv5] -branch = "master" -git = "https://github.com/sigp/discv5" - [dev-dependencies] ethportal-peertest = { path = "ethportal-peertest" } diff --git a/ethportal-peertest/Cargo.toml b/ethportal-peertest/Cargo.toml index 4fd62b6d6..037f4fc06 100644 --- a/ethportal-peertest/Cargo.toml +++ b/ethportal-peertest/Cargo.toml @@ -8,6 +8,7 @@ rust-version = "1.56.1" [dependencies] clap = "2.33.3" +discv5 = "0.1.0-beta.13" hyper = { version = "0.14", features = ["full"] } hex = "0.4.3" log = "0.4.14" @@ -25,7 +26,3 @@ trin-state = { path = "../trin-state" } [target.'cfg(windows)'.dependencies] uds_windows = "1.0.1" - -[dependencies.discv5] -branch = "master" -git = "https://github.com/sigp/discv5" diff --git a/trin-core/Cargo.toml b/trin-core/Cargo.toml index 4c12f5cd9..075003055 100644 --- a/trin-core/Cargo.toml +++ b/trin-core/Cargo.toml @@ -9,6 +9,7 @@ base64 = "0.13.0" clap = "2.33.3" ctrlc = "3.1.8" directories = "3.0" +discv5 = "0.1.0-beta.13" env_logger = "0.8.2" eth2_ssz = "0.4.0" eth2_ssz_derive = "0.3.0" @@ -45,10 +46,6 @@ uds_windows = "1.0.1" [target.'cfg(unix)'.dependencies] interfaces = "0.0.7" -[dependencies.discv5] -branch = "master" -git = "https://github.com/sigp/discv5" - [dependencies.rusqlite] version = "0.25.3" features = ["bundled"] diff --git a/trin-history/Cargo.toml b/trin-history/Cargo.toml index 0c8ff9743..b1586e33f 100644 --- a/trin-history/Cargo.toml +++ b/trin-history/Cargo.toml @@ -9,6 +9,7 @@ rust-version = "1.56.1" [dependencies] bytes = "1.1.0" +discv5 = "0.1.0-beta.13" ethereum-types = "0.12.0" hex = "0.4.3" keccak-hash = "0.8.0" @@ -21,7 +22,3 @@ tracing-subscriber = "0.2.18" tokio = { version = "1.8.0", features = ["full"] } trin-core = { path = "../trin-core" } rocksdb = "0.16.0" - -[dependencies.discv5] -branch = "master" -git = "https://github.com/sigp/discv5" diff --git a/trin-state/Cargo.toml b/trin-state/Cargo.toml index e49d76a71..b208b82f9 100644 --- a/trin-state/Cargo.toml +++ b/trin-state/Cargo.toml @@ -8,6 +8,7 @@ rust-version = "1.56.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +discv5 = "0.1.0-beta.13" eth_trie = "0.1.0" log = "0.4.14" num = "0.4.0" @@ -19,7 +20,3 @@ sha3 = "0.9.1" tokio = {version = "1.8.0", features = ["full"]} trin-core = { path = "../trin-core" } rocksdb = "0.16.0" - -[dependencies.discv5] -branch = "master" -git = "https://github.com/sigp/discv5" From 352c736bb441a6d3a6c5644c536e555ccca4dce7 Mon Sep 17 00:00:00 2001 From: Nick Gheorghita Date: Mon, 3 Jan 2022 10:56:12 +0000 Subject: [PATCH 2/3] Changes to suppress cargo build warning --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 827f77d5f..8c70c4cd6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: name: rust/default tag: 1.56.1 environment: - RUSTFLAGS: '-D warnings' + RUSTFLAGS: '-Dwarnings' steps: - checkout - restore_cache: From 7bbdcaa04d9a4b99b92c800355a3f2c738f79800 Mon Sep 17 00:00:00 2001 From: Nick Gheorghita Date: Mon, 3 Jan 2022 13:13:51 +0000 Subject: [PATCH 3/3] Update ci RUSTFLAGS --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8c70c4cd6..827f77d5f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: name: rust/default tag: 1.56.1 environment: - RUSTFLAGS: '-Dwarnings' + RUSTFLAGS: '-D warnings' steps: - checkout - restore_cache: