From 2757e2b0efb6108e2df7d31e8cfe3a4458af40cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Nov 2023 10:10:45 -0500 Subject: [PATCH] Bump libp2p-noise from 0.43.2 to 0.44.0 (#2027) Bumps [libp2p-noise](https://github.com/libp2p/rust-libp2p) from 0.43.2 to 0.44.0. - [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/libp2p-noise-0.43.2...libp2p-noise-v0.44.0) --- updated-dependencies: - dependency-name: libp2p-noise dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 155 ++++++++++++++++++++-------- crates/libp2p-networking/Cargo.toml | 2 +- 2 files changed, 112 insertions(+), 45 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c9fc421e0d..ac4c09e8f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -862,6 +862,19 @@ dependencies = [ "pin-project-lite 0.2.13", ] +[[package]] +name = "asynchronous-codec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a860072022177f903e59730004fb5dc13db9275b79bb2aef7ba8ce831956c233" +dependencies = [ + "bytes 1.5.0", + "futures-sink", + "futures-util", + "memchr", + "pin-project-lite 0.2.13", +] + [[package]] name = "atomic-waker" version = "1.1.2" @@ -2715,7 +2728,7 @@ dependencies = [ "hotshot-types", "hotshot-utils", "libp2p", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-networking", "serde", "serde_json", @@ -2943,7 +2956,7 @@ dependencies = [ "hotshot-types", "hotshot-utils", "jf-primitives", - "libp2p-core", + "libp2p-core 0.40.1", "rand 0.8.5", "serde", "serde_json", @@ -3527,7 +3540,7 @@ dependencies = [ "libp2p-allow-block-list", "libp2p-autonat", "libp2p-connection-limits", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-deflate", "libp2p-dns", "libp2p-floodsub", @@ -3537,7 +3550,7 @@ dependencies = [ "libp2p-kad", "libp2p-mdns", "libp2p-metrics", - "libp2p-noise", + "libp2p-noise 0.43.2", "libp2p-ping", "libp2p-plaintext", "libp2p-pnet", @@ -3564,7 +3577,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" dependencies = [ - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "void", @@ -3580,7 +3593,7 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-request-response", "libp2p-swarm", @@ -3595,7 +3608,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" dependencies = [ - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "void", @@ -3630,6 +3643,34 @@ dependencies = [ "void", ] +[[package]] +name = "libp2p-core" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8b63f1df89173dc6c582c07abfc072acf2792ce1787363ab266e0a18882fac" +dependencies = [ + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-identity", + "multiaddr", + "multihash", + "multistream-select", + "once_cell", + "parking_lot", + "pin-project", + "quick-protobuf", + "rand 0.8.5", + "rw-stream-sink", + "smallvec", + "thiserror", + "tracing", + "unsigned-varint", + "void", +] + [[package]] name = "libp2p-deflate" version = "0.40.1" @@ -3638,7 +3679,7 @@ checksum = "e5b988bd1ab7024180a51f9baf6755efb7c0e878bd0474bbe2e858b936a89d93" dependencies = [ "flate2", "futures", - "libp2p-core", + "libp2p-core 0.40.1", ] [[package]] @@ -3650,7 +3691,7 @@ dependencies = [ "async-std-resolver", "async-trait", "futures", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "log", "parking_lot", @@ -3664,11 +3705,11 @@ version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d16ec7b911fc3889812f3ede1d24c75d0a1aef051a337e7a043d4dd5b91fbb03" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "cuckoofilter", "fnv", "futures", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "log", @@ -3685,7 +3726,7 @@ version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1f9624e2a843b655f1c1b8262b8d5de6f309413fca4d66f01bb0662429f84dc" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "base64 0.21.4", "byteorder", "bytes 1.5.0", @@ -3696,7 +3737,7 @@ dependencies = [ "getrandom 0.2.10", "hex_fmt", "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "log", @@ -3718,12 +3759,12 @@ version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "either", "futures", "futures-bounded", "futures-timer", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "log", @@ -3764,14 +3805,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" dependencies = [ "arrayvec", - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes 1.5.0", "either", "fnv", "futures", "futures-timer", "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "log", @@ -3797,7 +3838,7 @@ dependencies = [ "data-encoding", "futures", "if-watch", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "log", @@ -3816,7 +3857,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" dependencies = [ "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-gossipsub", "libp2p-identify", "libp2p-identity", @@ -3848,7 +3889,7 @@ dependencies = [ "hotshot-utils", "libp2p", "libp2p-identity", - "libp2p-noise", + "libp2p-noise 0.44.0", "libp2p-swarm-derive", "netlink-packet-core 0.4.2 (git+https://github.com/espressosystems/netlink.git)", "netlink-packet-generic", @@ -3879,7 +3920,7 @@ dependencies = [ "bytes 1.5.0", "curve25519-dalek", "futures", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "log", "multiaddr", @@ -3895,6 +3936,32 @@ dependencies = [ "zeroize", ] +[[package]] +name = "libp2p-noise" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecd0545ce077f6ea5434bcb76e8d0fe942693b4380aaad0d34a358c2bd05793" +dependencies = [ + "asynchronous-codec 0.7.0", + "bytes 1.5.0", + "curve25519-dalek", + "futures", + "libp2p-core 0.41.0", + "libp2p-identity", + "multiaddr", + "multihash", + "once_cell", + "quick-protobuf", + "rand 0.8.5", + "sha2 0.10.8", + "snow", + "static_assertions", + "thiserror", + "tracing", + "x25519-dalek", + "zeroize", +] + [[package]] name = "libp2p-ping" version = "0.43.1" @@ -3905,7 +3972,7 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "log", @@ -3919,10 +3986,10 @@ version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53cc5390cc2f77b7de2452fb6105892d0bb64e3cafa3bb346abb603f4cc93a09" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes 1.5.0", "futures", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "log", "quick-protobuf", @@ -3954,7 +4021,7 @@ dependencies = [ "futures", "futures-timer", "if-watch", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-tls", "log", @@ -3974,14 +4041,14 @@ version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65bab06b10bbfb3936955965a01bd8db105b8675faabd55c88f94703feec318b" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes 1.5.0", "either", "futures", "futures-bounded", "futures-timer", "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "log", @@ -4000,12 +4067,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00aec50ed436e23945cb842e0a7212b1a1504461d50310a5ba8c3bc0b4c17682" dependencies = [ "async-trait", - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bimap", "futures", "futures-timer", "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-request-response", "libp2p-swarm", @@ -4026,7 +4093,7 @@ dependencies = [ "async-trait", "futures", "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm", "log", @@ -4047,7 +4114,7 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "libp2p-swarm-derive", "log", @@ -4083,7 +4150,7 @@ dependencies = [ "futures-timer", "if-watch", "libc", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "log", "socket2 0.5.4", @@ -4098,7 +4165,7 @@ checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" dependencies = [ "futures", "futures-rustls", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "rcgen", "ring", @@ -4116,7 +4183,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5699ce3b404e4ad9d3146af6f7aeb3283637b5d1d27b7f4f46d8dab85be91bdc" dependencies = [ "futures", - "libp2p-core", + "libp2p-core 0.40.1", "log", ] @@ -4129,7 +4196,7 @@ dependencies = [ "futures", "futures-timer", "igd-next", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-swarm", "log", "tokio", @@ -4144,7 +4211,7 @@ checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" dependencies = [ "futures", "js-sys", - "libp2p-core", + "libp2p-core 0.40.1", "send_wrapper", "wasm-bindgen", "wasm-bindgen-futures", @@ -4159,7 +4226,7 @@ dependencies = [ "either", "futures", "futures-rustls", - "libp2p-core", + "libp2p-core 0.40.1", "libp2p-identity", "log", "parking_lot", @@ -4177,7 +4244,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" dependencies = [ "futures", - "libp2p-core", + "libp2p-core 0.40.1", "log", "thiserror", "yamux", @@ -5268,7 +5335,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes 1.5.0", "quick-protobuf", "thiserror", @@ -6644,18 +6711,18 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "thiserror" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" +checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" +checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", @@ -7373,7 +7440,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes 1.5.0", ] diff --git a/crates/libp2p-networking/Cargo.toml b/crates/libp2p-networking/Cargo.toml index c9dd3b56f2..ed86459d3d 100644 --- a/crates/libp2p-networking/Cargo.toml +++ b/crates/libp2p-networking/Cargo.toml @@ -38,7 +38,7 @@ hotshot-constants = { path = "../constants" } hotshot-utils = { path = "../utils" } libp2p-swarm-derive = { workspace = true } libp2p-identity = { workspace = true } -libp2p-noise = { version = "0.43.2", default-features = false } +libp2p-noise = { version = "0.44.0", default-features = false } parking_lot = "0.12.1" rand = { workspace = true } serde = { workspace = true }