From 53333c32fca6092a7e8895c445e38dc92ffb50bf Mon Sep 17 00:00:00 2001 From: Jose Daniel Hernandez Date: Wed, 6 Jul 2022 10:09:25 -0600 Subject: [PATCH] Bump libp2p from 0.45.1 to 0.46.1 Bumps [libp2p](https://github.com/libp2p/rust-libp2p) from 0.45.1 to 0.46.1. - [Release notes](https://github.com/libp2p/rust-libp2p/releases) - [Changelog](https://github.com/libp2p/rust-libp2p/blob/master/CHANGELOG.md) - [Commits](https://github.com/libp2p/rust-libp2p/compare/v0.45.1...v0.46.1) --- updated-dependencies: - dependency-name: libp2p dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 60 +++++++++++++++++------------------ beserial/Cargo.toml | 2 +- network-libp2p/Cargo.toml | 2 +- network-libp2p/src/network.rs | 4 +-- utils/Cargo.toml | 2 +- 5 files changed, 35 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f203aab84f..402b0e074c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1856,9 +1856,9 @@ dependencies = [ [[package]] name = "libp2p" -version = "0.45.1" +version = "0.46.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41726ee8f662563fafba2d2d484b14037cc8ecb8c953fbfc8439d4ce3a0a9029" +checksum = "81327106887e42d004fbdab1fef93675be2e2e07c1b95fce45e2cc813485611d" dependencies = [ "bytes", "futures", @@ -1889,9 +1889,9 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.33.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42d46fca305dee6757022e2f5a4f6c023315084d0ed7441c3ab244e76666d979" +checksum = "fbf9b94cefab7599b2d3dff2f93bee218c6621d68590b23ede4485813cbcece6" dependencies = [ "asn1_der", "bs58", @@ -1923,9 +1923,9 @@ dependencies = [ [[package]] name = "libp2p-dns" -version = "0.33.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbb462ec3a51fab457b4b44ac295e8b0a4b04dc175127e615cf996b1f0f1a268" +checksum = "6cbf54723250fa5d521383be789bf60efdabe6bacfb443f87da261019a49b4b5" dependencies = [ "futures", "libp2p-core", @@ -1937,9 +1937,9 @@ dependencies = [ [[package]] name = "libp2p-gossipsub" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9be947d8cea8e6b469201314619395826896d2c051053c3723910ba98e68e04" +checksum = "74b4b888cfbeb1f5551acd3aa1366e01bf88ede26cc3c4645d0d2d004d5ca7b0" dependencies = [ "asynchronous-codec", "base64 0.13.0", @@ -1965,9 +1965,9 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.36.1" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84b53490442d086db1fa5375670c9666e79143dccadef3f7c74a4346899a984" +checksum = "c50b585518f8efd06f93ac2f976bd672e17cdac794644b3117edd078e96bda06" dependencies = [ "asynchronous-codec", "futures", @@ -1986,9 +1986,9 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.37.1" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6b5d4de90fcd35feb65ea6223fd78f3b747a64ca4b65e0813fbe66a27d56aa" +checksum = "740862893bb5f06ac24acc9d49bdeadc3a5e52e51818a30a25c1f3519da2c851" dependencies = [ "arrayvec 0.7.2", "asynchronous-codec", @@ -2014,9 +2014,9 @@ dependencies = [ [[package]] name = "libp2p-metrics" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc4357140141ba9739eee71b20aa735351c0fc642635b2bffc7f57a6b5c1090" +checksum = "ef8aff4a1abef42328fbb30b17c853fff9be986dc39af17ee39f9c5f755c5e0c" dependencies = [ "libp2p-core", "libp2p-gossipsub", @@ -2029,9 +2029,9 @@ dependencies = [ [[package]] name = "libp2p-noise" -version = "0.36.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf2cee1dad1c83325bbd182a8e94555778699cec8a9da00086efb7522c4c15ad" +checksum = "762408cb5d84b49a600422d7f9a42c18012d8da6ebcd570f9a4a4290ba41fb6f" dependencies = [ "bytes", "curve25519-dalek 3.2.1", @@ -2051,9 +2051,9 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.36.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d41516c82fe8dd148ec925eead0c5ec08a0628f7913597e93e126e4dfb4e0787" +checksum = "100a6934ae1dbf8a693a4e7dd1d730fd60b774dafc45688ed63b554497c6c925" dependencies = [ "futures", "futures-timer", @@ -2067,9 +2067,9 @@ dependencies = [ [[package]] name = "libp2p-request-response" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b02e0acb725e5a757d77c96b95298fd73a7394fe82ba7b8bbeea510719cbe441" +checksum = "508a189e2795d892c8f5c1fa1e9e0b1845d32d7b0b249dbf7b05b18811361843" dependencies = [ "async-trait", "bytes", @@ -2085,9 +2085,9 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.36.1" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4bb21c5abadbf00360c734f16bf87f1712ed4f23cd46148f625d2ddb867346" +checksum = "95ac5be6c2de2d1ff3f7693fda6faf8a827b1f3e808202277783fea9f527d114" dependencies = [ "either", "fnv", @@ -2105,9 +2105,9 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daf2fe8c80b43561355f4d51875273b5b6dfbac37952e8f64b1270769305c9d7" +checksum = "9f54a64b6957249e0ce782f8abf41d97f69330d02bf229f0672d864f0650cc76" dependencies = [ "quote", "syn", @@ -2115,9 +2115,9 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.33.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4933e38ef21b50698aefc87799c24f2a365c9d3f6cf50471f3f6a0bc410892" +checksum = "8a6771dc19aa3c65d6af9a8c65222bfc8fcd446630ddca487acd161fa6096f3b" dependencies = [ "futures", "futures-timer", @@ -2132,9 +2132,9 @@ dependencies = [ [[package]] name = "libp2p-websocket" -version = "0.35.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39d398fbb29f432c4128fabdaac2ed155c3bcaf1b9bd40eeeb10a471eefacbf5" +checksum = "9808e57e81be76ff841c106b4c5974fb4d41a233a7bdd2afbf1687ac6def3818" dependencies = [ "either", "futures", @@ -2151,9 +2151,9 @@ dependencies = [ [[package]] name = "libp2p-yamux" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fe653639ad74877c759720febb0cbcbf4caa221adde4eed2d3126ce5c6f381f" +checksum = "c6dea686217a06072033dc025631932810e2f6ad784e4fafa42e27d311c7a81c" dependencies = [ "futures", "libp2p-core", diff --git a/beserial/Cargo.toml b/beserial/Cargo.toml index f181238b60..e6098eace0 100644 --- a/beserial/Cargo.toml +++ b/beserial/Cargo.toml @@ -19,7 +19,7 @@ maintenance = { status = "experimental" } [dependencies] beserial_derive = { path = "beserial_derive", version = "0.1.0", optional = true } bitvec = { version = "1.0", optional = true } -libp2p = { version = "0.45", default-features = false, optional = true } +libp2p = { version = "0.46", default-features = false, optional = true } byteorder = "1.2" thiserror = "1.0" num-traits = "0.2" diff --git a/network-libp2p/Cargo.toml b/network-libp2p/Cargo.toml index 9cd46ca901..1a514d1977 100644 --- a/network-libp2p/Cargo.toml +++ b/network-libp2p/Cargo.toml @@ -25,7 +25,7 @@ derive_more = "0.99" futures = { package = "futures-util", version = "0.3" } hex = "0.4" ip_network = "0.4" -libp2p = { version = "0.45", default-features = false, features = [ +libp2p = { version = "0.46", default-features = false, features = [ "dns-tokio", "gossipsub", "identify", diff --git a/network-libp2p/src/network.rs b/network-libp2p/src/network.rs index 4b6c80a47d..b74edfd43f 100644 --- a/network-libp2p/src/network.rs +++ b/network-libp2p/src/network.rs @@ -235,7 +235,7 @@ impl Network { // Memory transport primary for testing // TODO: Use websocket over the memory transport let transport = websocket::WsConfig::new(dns::TokioDnsConfig::system( - tcp::TokioTcpConfig::new().nodelay(true), + tcp::TokioTcpTransport::new(tcp::GenTcpConfig::default().nodelay(true)), )?) .or_transport(MemoryTransport::default()); @@ -254,7 +254,7 @@ impl Network { .boxed()) } else { let transport = websocket::WsConfig::new(dns::TokioDnsConfig::system( - tcp::TokioTcpConfig::new().nodelay(true), + tcp::TokioTcpTransport::new(tcp::GenTcpConfig::default().nodelay(true)), )?); let noise_keys = noise::Keypair::::new() diff --git a/utils/Cargo.toml b/utils/Cargo.toml index 4fd534dfba..d70e8ec00c 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -20,7 +20,7 @@ maintenance = { status = "experimental" } clear_on_drop = { version = "0.2", optional = true } futures = { package = "futures-util", version = "0.3" } hex = { version = "0.4", optional = true } -libp2p = { version = "0.45", default-features = false, optional = true } +libp2p = { version = "0.46", default-features = false, optional = true } log = { package = "tracing", version = "0.1", optional = true, features = ["log"] } parking_lot = { git = "https://github.com/styppo/parking_lot.git" } rand = { version = "0.8", optional = true }