diff --git a/ping/rust/Cargo.lock b/ping/rust/Cargo.lock index 4d3eaf48..665453a4 100644 --- a/ping/rust/Cargo.lock +++ b/ping/rust/Cargo.lock @@ -54,9 +54,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.65" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98161a4e3e2184da77bb14f02184cdd111e83bbbcc9979dfee3c44b9a85f5602" +checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6" [[package]] name = "arrayref" @@ -208,7 +208,22 @@ dependencies = [ "futures-util", "pin-utils", "socket2", - "trust-dns-resolver", + "trust-dns-resolver 0.21.2", +] + +[[package]] +name = "async-std-resolver" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ba50e24d9ee0a8950d3d03fc6d0dd10aa14b5de3b101949b4e160f7fee7c723" +dependencies = [ + "async-std", + "async-trait", + "futures-io", + "futures-util", + "pin-utils", + "socket2", + "trust-dns-resolver 0.22.0", ] [[package]] @@ -219,9 +234,9 @@ checksum = "7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524" [[package]] name = "async-trait" -version = "0.1.57" +version = "0.1.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" +checksum = "1e805d94e6b5001b651426cf4cd446b1ab5f319d27bab5c644f61de0a804360c" dependencies = [ "proc-macro2", "quote", @@ -334,9 +349,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bumpalo" -version = "3.11.0" +version = "3.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" +checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" [[package]] name = "byteorder" @@ -531,9 +546,9 @@ dependencies = [ [[package]] name = "ctor" -version = "0.1.23" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdffe87e1d521a10f9696f833fe502293ea446d7f256c06128293a4119bdf4cb" +checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" dependencies = [ "quote", "syn", @@ -635,11 +650,21 @@ dependencies = [ "subtle", ] +[[package]] +name = "dns-parser" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea" +dependencies = [ + "byteorder", + "quick-error", +] + [[package]] name = "dtoa" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6053ff46b5639ceb91756a85a4c8914668393a03170efd79c8884a529d80656" +checksum = "f8a6eee2d5d0d113f015688310da018bd1d864d86bd567c8fca9c266889e1bfa" [[package]] name = "ed25519" @@ -691,6 +716,18 @@ dependencies = [ "syn", ] +[[package]] +name = "enum-as-inner" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" +dependencies = [ + "heck 0.4.0", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "env_logger" version = "0.9.1" @@ -753,9 +790,9 @@ dependencies = [ [[package]] name = "futures" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f21eda599937fba36daeb58a22e8f5cee2d14c4a17b5b7739c7c8e5e3b8230c" +checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0" dependencies = [ "futures-channel", "futures-core", @@ -768,9 +805,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30bdd20c28fadd505d0fd6712cdfcb0d4b5648baf45faef7f852afb2399bb050" +checksum = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed" dependencies = [ "futures-core", "futures-sink", @@ -778,15 +815,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e5aa3de05362c3fb88de6531e6296e85cde7739cccad4b9dfeeb7f6ebce56bf" +checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac" [[package]] name = "futures-executor" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff63c23854bee61b6e9cd331d523909f238fc7636290b96826e9cfa5faa00ab" +checksum = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2" dependencies = [ "futures-core", "futures-task", @@ -796,9 +833,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbf4d2a7a308fd4578637c0b17c7e1c7ba127b8f6ba00b29f717e9655d85eb68" +checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb" [[package]] name = "futures-lite" @@ -817,9 +854,9 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cd15d1c7456c04dbdf7e88bcd69760d74f3a798d6444e16974b505b0e62f17" +checksum = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d" dependencies = [ "proc-macro2", "quote", @@ -839,15 +876,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b20ba5a92e727ba30e72834706623d94ac93a725410b6a6b6fbc1b07f7ba56" +checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9" [[package]] name = "futures-task" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6508c467c73851293f390476d4491cf4d227dbabcd4170f3bb6044959b294f1" +checksum = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea" [[package]] name = "futures-timer" @@ -857,9 +894,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44fb6cb1be61cc1d2e43b262516aafcf63b241cffdb1d3fa115f91d9c7b09c90" +checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6" dependencies = [ "futures-channel", "futures-core", @@ -896,9 +933,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" +checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" dependencies = [ "cfg-if", "libc", @@ -1210,9 +1247,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" +checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" [[package]] name = "js-sys" @@ -1240,9 +1277,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.134" +version = "0.2.135" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "329c933548736bc49fd575ee68c89e8be4d260064184389a5b77517cddd99ffb" +checksum = "68783febc7782c6c5cb401fbda4de5a9898be1762314da0bb2c10ced61f18b0c" [[package]] name = "libp2p" @@ -1254,7 +1291,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.7", + "getrandom 0.2.8", "instant", "lazy_static", "libp2p-core 0.32.1", @@ -1284,7 +1321,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.7", + "getrandom 0.2.8", "instant", "lazy_static", "libp2p-core 0.33.0", @@ -1314,7 +1351,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.7", + "getrandom 0.2.8", "instant", "lazy_static", "libp2p-core 0.34.0", @@ -1344,7 +1381,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.7", + "getrandom 0.2.8", "instant", "lazy_static", "libp2p-core 0.35.1", @@ -1374,7 +1411,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.7", + "getrandom 0.2.8", "instant", "lazy_static", "libp2p-core 0.36.0", @@ -1384,7 +1421,7 @@ dependencies = [ "libp2p-noise 0.39.0", "libp2p-ping 0.39.0", "libp2p-swarm 0.39.0", - "libp2p-swarm-derive 0.30.0", + "libp2p-swarm-derive 0.30.1 (registry+https://github.com/rust-lang/crates.io-index)", "libp2p-tcp 0.36.0", "libp2p-websocket 0.38.0", "libp2p-yamux 0.40.0", @@ -1398,25 +1435,55 @@ dependencies = [ [[package]] name = "libp2p" version = "0.49.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec878fda12ebec479186b3914ebc48ff180fa4c51847e11a1a68bf65249e02c1" dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.7", + "getrandom 0.2.8", "instant", "lazy_static", - "libp2p-core 0.37.1", - "libp2p-dns 0.37.0", - "libp2p-metrics 0.10.0", - "libp2p-mplex 0.37.1", - "libp2p-noise 0.40.0", - "libp2p-ping 0.40.1", - "libp2p-swarm 0.40.1", - "libp2p-swarm-derive 0.30.1", - "libp2p-tcp 0.37.0", - "libp2p-websocket 0.39.0", - "libp2p-yamux 0.41.0", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-dns 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-metrics 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-mplex 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-noise 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-ping 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-swarm 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-swarm-derive 0.30.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-tcp 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-websocket 0.39.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-yamux 0.41.0 (registry+https://github.com/rust-lang/crates.io-index)", + "multiaddr", + "parking_lot", + "pin-project 1.0.12", + "smallvec", +] + +[[package]] +name = "libp2p" +version = "0.50.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" +dependencies = [ + "bytes", + "futures", + "futures-timer", + "getrandom 0.2.8", + "instant", + "lazy_static", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-dns 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-mdns", + "libp2p-metrics 0.10.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-mplex 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-noise 0.40.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-ping 0.40.1 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-swarm 0.40.1 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-swarm-derive 0.30.1 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-tcp 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-websocket 0.39.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-yamux 0.41.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "multiaddr", "parking_lot", "pin-project 1.0.12", @@ -1595,8 +1662,42 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.37.1" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799676bb0807c788065e57551c6527d461ad572162b0519d1958946ff9e0539d" +dependencies = [ + "asn1_der", + "bs58", + "ed25519-dalek", + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "lazy_static", + "log", + "multiaddr", + "multihash", + "multistream-select 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot", + "pin-project 1.0.12", + "prost 0.11.0", + "prost-build 0.11.1", + "rand 0.8.5", + "ring", + "rw-stream-sink 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sha2 0.10.6", + "smallvec", + "thiserror", + "unsigned-varint", + "void", + "zeroize", +] + +[[package]] +name = "libp2p-core" +version = "0.37.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "asn1_der", "bs58", @@ -1610,7 +1711,7 @@ dependencies = [ "log", "multiaddr", "multihash", - "multistream-select 0.12.0", + "multistream-select 0.12.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "parking_lot", "pin-project 1.0.12", "prost 0.11.0", @@ -1632,12 +1733,12 @@ version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "066e33e854e10b5c93fc650458bf2179c7e0d143db260b0963e44a94859817f1" dependencies = [ - "async-std-resolver", + "async-std-resolver 0.21.2", "futures", "libp2p-core 0.32.1", "log", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.21.2", ] [[package]] @@ -1646,13 +1747,13 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbb462ec3a51fab457b4b44ac295e8b0a4b04dc175127e615cf996b1f0f1a268" dependencies = [ - "async-std-resolver", + "async-std-resolver 0.21.2", "futures", "libp2p-core 0.33.0", "log", "parking_lot", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.21.2", ] [[package]] @@ -1661,13 +1762,13 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6cbf54723250fa5d521383be789bf60efdabe6bacfb443f87da261019a49b4b5" dependencies = [ - "async-std-resolver", + "async-std-resolver 0.21.2", "futures", "libp2p-core 0.34.0", "log", "parking_lot", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.21.2", ] [[package]] @@ -1676,13 +1777,13 @@ version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8a09386cb4891343703614454a4e5f1084a22589f655d48a78c8dcad6b09d0a" dependencies = [ - "async-std-resolver", + "async-std-resolver 0.21.2", "futures", "libp2p-core 0.35.1", "log", "parking_lot", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.21.2", ] [[package]] @@ -1691,27 +1792,61 @@ version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6cb3c16e3bb2f76c751ae12f0f26e788c89d353babdded40411e7923f01fc978" dependencies = [ - "async-std-resolver", + "async-std-resolver 0.21.2", "futures", "libp2p-core 0.36.0", "log", "parking_lot", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.21.2", ] [[package]] name = "libp2p-dns" version = "0.37.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2322c9fb40d99101def6a01612ee30500c89abbbecb6297b3cd252903a4c1720" dependencies = [ - "async-std-resolver", + "async-std-resolver 0.22.0", "futures", - "libp2p-core 0.37.1", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "parking_lot", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.22.0", +] + +[[package]] +name = "libp2p-dns" +version = "0.37.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" +dependencies = [ + "async-std-resolver 0.22.0", + "futures", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "log", + "parking_lot", + "smallvec", + "trust-dns-resolver 0.22.0", +] + +[[package]] +name = "libp2p-mdns" +version = "0.41.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" +dependencies = [ + "async-io", + "data-encoding", + "dns-parser", + "futures", + "if-watch 2.0.0", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-swarm 0.40.1 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "log", + "rand 0.8.5", + "smallvec", + "socket2", + "void", ] [[package]] @@ -1759,7 +1894,7 @@ dependencies = [ "libp2p-core 0.35.1", "libp2p-ping 0.38.0", "libp2p-swarm 0.38.0", - "prometheus-client 0.18.0", + "prometheus-client 0.18.1", ] [[package]] @@ -1771,18 +1906,30 @@ dependencies = [ "libp2p-core 0.36.0", "libp2p-ping 0.39.0", "libp2p-swarm 0.39.0", - "prometheus-client 0.18.0", + "prometheus-client 0.18.1", +] + +[[package]] +name = "libp2p-metrics" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ee31b08e78b7b8bfd1c4204a9dd8a87b4fcdf6dafc57eb51701c1c264a81cb9" +dependencies = [ + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-ping 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-swarm 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "prometheus-client 0.18.1", ] [[package]] name = "libp2p-metrics" version = "0.10.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ - "libp2p-core 0.37.1", - "libp2p-ping 0.40.1", - "libp2p-swarm 0.40.1", - "prometheus-client 0.18.0", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-ping 0.40.1 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-swarm 0.40.1 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "prometheus-client 0.18.1", ] [[package]] @@ -1877,13 +2024,31 @@ dependencies = [ [[package]] name = "libp2p-mplex" -version = "0.37.1" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692664acfd98652de739a8acbb0a0d670f1d67190a49be6b4395e22c37337d89" +dependencies = [ + "asynchronous-codec", + "bytes", + "futures", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "nohash-hasher", + "parking_lot", + "rand 0.8.5", + "smallvec", + "unsigned-varint", +] + +[[package]] +name = "libp2p-mplex" +version = "0.37.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "asynchronous-codec", "bytes", "futures", - "libp2p-core 0.37.1", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "log", "nohash-hasher", "parking_lot", @@ -2005,13 +2170,35 @@ dependencies = [ [[package]] name = "libp2p-noise" version = "0.40.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "048155686bd81fe6cb5efdef0c6290f25ad32a0a42e8f4f72625cf6a505a206f" +dependencies = [ + "bytes", + "curve25519-dalek 3.2.1", + "futures", + "lazy_static", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "prost 0.11.0", + "prost-build 0.11.1", + "rand 0.8.5", + "sha2 0.10.6", + "snow", + "static_assertions", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "libp2p-noise" +version = "0.40.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "bytes", "curve25519-dalek 3.2.1", "futures", "lazy_static", - "libp2p-core 0.37.1", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "log", "prost 0.11.0", "prost-build 0.11.1", @@ -2106,13 +2293,29 @@ dependencies = [ [[package]] name = "libp2p-ping" version = "0.40.1" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7228b9318d34689521349a86eb39a3c3a802c9efc99a0568062ffb80913e3f91" dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core 0.37.1", - "libp2p-swarm 0.40.1", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-swarm 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "rand 0.8.5", + "void", +] + +[[package]] +name = "libp2p-ping" +version = "0.40.1" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" +dependencies = [ + "futures", + "futures-timer", + "instant", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", + "libp2p-swarm 0.40.1 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "log", "rand 0.8.5", "void", @@ -2221,14 +2424,34 @@ dependencies = [ [[package]] name = "libp2p-swarm" version = "0.40.1" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46d13df7c37807965d82930c0e4b04a659efcb6cca237373b206043db5398ecf" +dependencies = [ + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pin-project 1.0.12", + "rand 0.8.5", + "smallvec", + "thiserror", + "void", +] + +[[package]] +name = "libp2p-swarm" +version = "0.40.1" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "either", "fnv", "futures", "futures-timer", "instant", - "libp2p-core 0.37.1", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "log", "pin-project 1.0.12", "rand 0.8.5", @@ -2270,9 +2493,9 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" -version = "0.30.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f02622b9dd150011b4eeec387f8bd013189a2f27da08ba363e7c6e606d77a48" +checksum = "a0eddc4497a8b5a506013c40e8189864f9c3a00db2b25671f428ae9007f3ba32" dependencies = [ "heck 0.4.0", "quote", @@ -2282,7 +2505,7 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" version = "0.30.1" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "heck 0.4.0", "quote", @@ -2377,14 +2600,30 @@ dependencies = [ [[package]] name = "libp2p-tcp" version = "0.37.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9839d96761491c6d3e238e70554b856956fca0ab60feb9de2cd08eed4473fa92" dependencies = [ "async-io", "futures", "futures-timer", "if-watch 2.0.0", "libc", - "libp2p-core 0.37.1", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "socket2", +] + +[[package]] +name = "libp2p-tcp" +version = "0.37.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" +dependencies = [ + "async-io", + "futures", + "futures-timer", + "if-watch 2.0.0", + "libc", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "log", "socket2", ] @@ -2486,12 +2725,31 @@ dependencies = [ [[package]] name = "libp2p-websocket" version = "0.39.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3758ae6f89b2531a24b6d9f5776bda6a626b60a57600d7185d43dfa75ca5ecc4" +dependencies = [ + "either", + "futures", + "futures-rustls", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parking_lot", + "quicksink", + "rw-stream-sink 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "soketto", + "url", + "webpki-roots", +] + +[[package]] +name = "libp2p-websocket" +version = "0.39.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "either", "futures", "futures-rustls", - "libp2p-core 0.37.1", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "log", "parking_lot", "quicksink", @@ -2569,10 +2827,24 @@ dependencies = [ [[package]] name = "libp2p-yamux" version = "0.41.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30f079097a21ad017fc8139460630286f02488c8c13b26affb46623aa20d8845" +dependencies = [ + "futures", + "libp2p-core 0.37.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parking_lot", + "thiserror", + "yamux", +] + +[[package]] +name = "libp2p-yamux" +version = "0.41.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "futures", - "libp2p-core 0.37.1", + "libp2p-core 0.37.0 (git+https://github.com/libp2p/rust-libp2p?branch=master)", "log", "parking_lot", "thiserror", @@ -2667,7 +2939,7 @@ dependencies = [ "libc", "log", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys", + "windows-sys 0.36.1", ] [[package]] @@ -2738,7 +3010,21 @@ dependencies = [ [[package]] name = "multistream-select" version = "0.12.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bc41247ec209813e2fd414d6e16b9d94297dacf3cd613fa6ef09cd4d9755c10" +dependencies = [ + "bytes", + "futures", + "log", + "pin-project 1.0.12", + "smallvec", + "unsigned-varint", +] + +[[package]] +name = "multistream-select" +version = "0.12.0" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "bytes", "futures", @@ -2905,15 +3191,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" +checksum = "4dc9e0dc2adc1c69d09143aff38d3d30c5c3f0df0dad82e6d25547af174ebec0" dependencies = [ "cfg-if", "libc", "redox_syscall", "smallvec", - "windows-sys", + "windows-sys 0.42.0", ] [[package]] @@ -3082,9 +3368,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.46" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94e2ef8dbfc347b10c094890f778ee2e36ca9bb4262e86dc99cd217e35f3470b" +checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" dependencies = [ "unicode-ident", ] @@ -3115,9 +3401,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c473049631c233933d6286c88bbb7be30e62ec534cf99a9ae0079211f7fa603" +checksum = "83cd1b99916654a69008fd66b4f9397fbe08e6e51dfe23d4417acf5d3b8cb87c" dependencies = [ "dtoa", "itoa", @@ -3393,7 +3679,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.7", + "getrandom 0.2.8", ] [[package]] @@ -3525,9 +3811,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.20.6" +version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aab8ee6c7097ed6057f43c187a62418d0c05a4bd5f18b3571db50ee0f9ce033" +checksum = "539a2bfe908f471bfa933876bd1eb6a19cf2176d375f82ef7f99530a40e48c2c" dependencies = [ "log", "ring", @@ -3560,7 +3846,7 @@ dependencies = [ [[package]] name = "rw-stream-sink" version = "0.3.0" -source = "git+https://github.com/libp2p/rust-libp2p?branch=master#1da75b2b253f7073166b0aa532bf05a6d2158187" +source = "git+https://github.com/libp2p/rust-libp2p?branch=master#56a4a946c68567be6b40b9394206b0bc09b14c48" dependencies = [ "futures", "pin-project 1.0.12", @@ -3617,9 +3903,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.85" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e55a28e3aaef9d5ce0506d0a14dbba8054ddc7e499ef522dd8b26859ec9d4a44" +checksum = "6ce777b7b150d76b9cf60d28b55f5847135a003f7d7350c6be7a773508ce7d45" dependencies = [ "itoa", "ryu", @@ -3729,9 +4015,9 @@ dependencies = [ [[package]] name = "signature" -version = "1.6.3" +version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb766570a2825fa972bceff0d195727876a9cdf2460ab2e52d455dc2de47fd9" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" [[package]] name = "slab" @@ -3744,9 +4030,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" +checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "snow" @@ -3823,9 +4109,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "syn" -version = "1.0.101" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e90cde112c4b9690b8cbe810cba9ddd8bc1d7472e2cae317b69e9438c1cba7d2" +checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d" dependencies = [ "proc-macro2", "quote", @@ -3925,6 +4211,7 @@ dependencies = [ "libp2p 0.47.0", "libp2p 0.48.0", "libp2p 0.49.0", + "libp2p 0.50.0", "log", "rand 0.8.5", "serde_json", @@ -4008,9 +4295,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6edf2d6bc038a43d31353570e27270603f4648d18f5ed10c0e179abe43255af" +checksum = "d660770404473ccd7bc9f8b28494a811bc18542b915c0855c51e8f419d5223ce" dependencies = [ "futures-core", "pin-project-lite 0.2.9", @@ -4049,20 +4336,32 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.36" +version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" +checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if", "pin-project-lite 0.2.9", + "tracing-attributes", "tracing-core", ] +[[package]] +name = "tracing-attributes" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tracing-core" -version = "0.1.29" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7" +checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" dependencies = [ "once_cell", ] @@ -4076,7 +4375,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.4.0", "futures-channel", "futures-io", "futures-util", @@ -4091,6 +4390,30 @@ dependencies = [ "url", ] +[[package]] +name = "trust-dns-proto" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner 0.5.1", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.2.3", + "ipnet", + "lazy_static", + "rand 0.8.5", + "smallvec", + "thiserror", + "tinyvec", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" version = "0.21.2" @@ -4107,7 +4430,26 @@ dependencies = [ "resolv-conf", "smallvec", "thiserror", - "trust-dns-proto", + "trust-dns-proto 0.21.2", +] + +[[package]] +name = "trust-dns-resolver" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" +dependencies = [ + "cfg-if", + "futures-util", + "ipconfig", + "lazy_static", + "lru-cache", + "parking_lot", + "resolv-conf", + "smallvec", + "thiserror", + "tracing", + "trust-dns-proto 0.22.0", ] [[package]] @@ -4130,9 +4472,9 @@ checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" [[package]] name = "unicode-ident" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcc811dc4066ac62f84f11307873c4850cb653bfa9b1719cee2bd2204a4bc5dd" +checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" [[package]] name = "unicode-normalization" @@ -4426,6 +4768,27 @@ dependencies = [ "windows_x86_64_msvc 0.36.1", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc 0.42.0", + "windows_i686_gnu 0.42.0", + "windows_i686_msvc 0.42.0", + "windows_x86_64_gnu 0.42.0", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc 0.42.0", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" + [[package]] name = "windows_aarch64_msvc" version = "0.34.0" @@ -4438,6 +4801,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" + [[package]] name = "windows_i686_gnu" version = "0.34.0" @@ -4450,6 +4819,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" +[[package]] +name = "windows_i686_gnu" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" + [[package]] name = "windows_i686_msvc" version = "0.34.0" @@ -4462,6 +4837,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" +[[package]] +name = "windows_i686_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" + [[package]] name = "windows_x86_64_gnu" version = "0.34.0" @@ -4474,6 +4855,18 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" + [[package]] name = "windows_x86_64_msvc" version = "0.34.0" @@ -4486,6 +4879,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" + [[package]] name = "winreg" version = "0.7.0"