From 05f0d05ae6cd832f3affa9995234f5f17116e4fb Mon Sep 17 00:00:00 2001 From: Richard Watts Date: Thu, 14 Nov 2024 20:53:25 +0000 Subject: [PATCH] (fix) Attempt to fix Cargo.lock --- Cargo.lock | 289 ++++++++++++++--------------------------------------- 1 file changed, 77 insertions(+), 212 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 796c95933..570df8119 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4044,18 +4044,16 @@ dependencies = [ [[package]] name = "igd-next" -version = "0.15.1" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76b0d7d4541def58a37bf8efc559683f21edce7c82f0d866c93ac21f7e098f93" +checksum = "064d90fec10d541084e7b39ead8875a5a80d9114a2b18791565253bae25f49e4" dependencies = [ "async-trait", "attohttpc", "bytes", "futures", - "http 1.1.0", - "http-body-util", - "hyper 1.5.0", - "hyper-util", + "http 0.2.12", + "hyper 0.14.30", "log", "rand", "tokio", @@ -4703,55 +4701,33 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libp2p" version = "0.54.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbbe80f9c7e00526cd6b838075b9c171919404a4732cb2fa8ece0a093223bfc4" dependencies = [ "bytes", "either", "futures", "futures-timer", "getrandom", - "libp2p-allow-block-list 0.4.1", + "libp2p-allow-block-list", "libp2p-autonat", - "libp2p-connection-limits 0.4.0", - "libp2p-core 0.42.0", + "libp2p-connection-limits", + "libp2p-core", "libp2p-dns", "libp2p-gossipsub", - "libp2p-identify 0.45.1", + "libp2p-identify", "libp2p-identity", "libp2p-kad", "libp2p-mdns", - "libp2p-metrics 0.15.0", + "libp2p-metrics", "libp2p-quic", "libp2p-request-response", - "libp2p-swarm 0.45.2", + "libp2p-swarm", "libp2p-tcp", "libp2p-upnp", "multiaddr", "pin-project", - "rw-stream-sink 0.4.0", - "thiserror 1.0.69", -] - -[[package]] -name = "libp2p" -version = "0.54.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbe80f9c7e00526cd6b838075b9c171919404a4732cb2fa8ece0a093223bfc4" -dependencies = [ - "bytes", - "either", - "futures", - "futures-timer", - "getrandom", - "libp2p-allow-block-list 0.4.0", - "libp2p-connection-limits 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.42.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-identify 0.45.0", - "libp2p-identity", - "libp2p-metrics 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-swarm 0.45.1", - "multiaddr", - "pin-project", - "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rw-stream-sink", "thiserror 1.0.69", ] @@ -4761,25 +4737,17 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d1027ccf8d70320ed77e984f273bc8ce952f623762cb9bf2d126df73caef8041" dependencies = [ - "libp2p-core 0.42.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core", "libp2p-identity", - "libp2p-swarm 0.45.1", - "void", -] - -[[package]] -name = "libp2p-allow-block-list" -version = "0.4.1" -dependencies = [ - "libp2p-core 0.42.0", - "libp2p-identity", - "libp2p-swarm 0.45.2", + "libp2p-swarm", "void", ] [[package]] name = "libp2p-autonat" -version = "0.13.1" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a083675f189803d0682a2726131628e808144911dad076858bfbe30b13065499" dependencies = [ "async-trait", "asynchronous-codec", @@ -4788,12 +4756,12 @@ dependencies = [ "futures", "futures-bounded", "futures-timer", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", "libp2p-request-response", - "libp2p-swarm 0.45.2", + "libp2p-swarm", "quick-protobuf", - "quick-protobuf-codec 0.3.1", + "quick-protobuf-codec", "rand", "rand_core", "thiserror 1.0.69", @@ -4802,53 +4770,16 @@ dependencies = [ "web-time", ] -[[package]] -name = "libp2p-connection-limits" -version = "0.4.0" -dependencies = [ - "libp2p-core 0.42.0", - "libp2p-identity", - "libp2p-swarm 0.45.2", - "void", -] - [[package]] name = "libp2p-connection-limits" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d003540ee8baef0d254f7b6bfd79bac3ddf774662ca0abf69186d517ef82ad8" dependencies = [ - "libp2p-core 0.42.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core", "libp2p-identity", - "libp2p-swarm 0.45.1", - "void", -] - -[[package]] -name = "libp2p-core" -version = "0.42.0" -dependencies = [ - "either", - "fnv", - "futures", - "futures-timer", - "libp2p-identity", - "multiaddr", - "multihash", - "multistream-select 0.13.0", - "once_cell", - "parking_lot 0.12.3", - "pin-project", - "quick-protobuf", - "rand", - "rw-stream-sink 0.4.0", - "serde", - "smallvec", - "thiserror 1.0.69", - "tracing", - "unsigned-varint 0.8.0", + "libp2p-swarm", "void", - "web-time", ] [[package]] @@ -4864,13 +4795,14 @@ dependencies = [ "libp2p-identity", "multiaddr", "multihash", - "multistream-select 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "multistream-select", "once_cell", "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand", - "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rw-stream-sink", + "serde", "smallvec", "thiserror 1.0.69", "tracing", @@ -4882,11 +4814,13 @@ dependencies = [ [[package]] name = "libp2p-dns" version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97f37f30d5c7275db282ecd86e54f29dd2176bd3ac656f06abf43bedb21eb8bd" dependencies = [ "async-trait", "futures", "hickory-resolver", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", "parking_lot 0.12.3", "smallvec", @@ -4895,7 +4829,9 @@ dependencies = [ [[package]] name = "libp2p-gossipsub" -version = "0.47.1" +version = "0.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4e830fdf24ac8c444c12415903174d506e1e077fbe3875c404a78c5935a8543" dependencies = [ "asynchronous-codec", "base64 0.22.1", @@ -4907,12 +4843,12 @@ dependencies = [ "futures-ticker", "getrandom", "hex_fmt", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", - "libp2p-swarm 0.45.2", + "libp2p-swarm", "prometheus-client", "quick-protobuf", - "quick-protobuf-codec 0.3.1", + "quick-protobuf-codec", "rand", "regex", "serde", @@ -4934,33 +4870,12 @@ dependencies = [ "futures", "futures-bounded", "futures-timer", - "libp2p-core 0.42.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-identity", - "libp2p-swarm 0.45.1", - "lru", - "quick-protobuf", - "quick-protobuf-codec 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec", - "thiserror 1.0.69", - "tracing", - "void", -] - -[[package]] -name = "libp2p-identify" -version = "0.45.1" -dependencies = [ - "asynchronous-codec", - "either", - "futures", - "futures-bounded", - "futures-timer", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", - "libp2p-swarm 0.45.2", + "libp2p-swarm", "lru", "quick-protobuf", - "quick-protobuf-codec 0.3.1", + "quick-protobuf-codec", "smallvec", "thiserror 1.0.69", "tracing", @@ -4988,7 +4903,9 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.47.0" +version = "0.46.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ced237d0bd84bbebb7c2cad4c073160dacb4fe40534963c32ed6d4c6bb7702a3" dependencies = [ "arrayvec", "asynchronous-codec", @@ -4998,11 +4915,11 @@ dependencies = [ "futures", "futures-bounded", "futures-timer", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", - "libp2p-swarm 0.45.2", + "libp2p-swarm", "quick-protobuf", - "quick-protobuf-codec 0.3.1", + "quick-protobuf-codec", "rand", "serde", "sha2", @@ -5017,14 +4934,16 @@ dependencies = [ [[package]] name = "libp2p-mdns" version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14b8546b6644032565eb29046b42744aee1e9f261ed99671b2c93fb140dba417" dependencies = [ "data-encoding", "futures", "hickory-proto", "if-watch", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", - "libp2p-swarm 0.45.2", + "libp2p-swarm", "rand", "smallvec", "socket2", @@ -5033,22 +4952,6 @@ dependencies = [ "void", ] -[[package]] -name = "libp2p-metrics" -version = "0.15.0" -dependencies = [ - "futures", - "libp2p-core 0.42.0", - "libp2p-gossipsub", - "libp2p-identify 0.45.1", - "libp2p-identity", - "libp2p-kad", - "libp2p-swarm 0.45.2", - "pin-project", - "prometheus-client", - "web-time", -] - [[package]] name = "libp2p-metrics" version = "0.15.0" @@ -5056,10 +4959,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77ebafa94a717c8442d8db8d3ae5d1c6a15e30f2d347e0cd31d057ca72e42566" dependencies = [ "futures", - "libp2p-core 0.42.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-identify 0.45.0", + "libp2p-core", + "libp2p-gossipsub", + "libp2p-identify", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-kad", + "libp2p-swarm", "pin-project", "prometheus-client", "web-time", @@ -5068,12 +4973,14 @@ dependencies = [ [[package]] name = "libp2p-quic" version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46352ac5cd040c70e88e7ff8257a2ae2f891a4076abad2c439584a31c15fd24e" dependencies = [ "bytes", "futures", "futures-timer", "if-watch", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", "libp2p-tls", "parking_lot 0.12.3", @@ -5090,15 +4997,17 @@ dependencies = [ [[package]] name = "libp2p-request-response" version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1356c9e376a94a75ae830c42cdaea3d4fe1290ba409a22c809033d1b7dcab0a6" dependencies = [ "async-trait", "cbor4ii", "futures", "futures-bounded", "futures-timer", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", - "libp2p-swarm 0.45.2", + "libp2p-swarm", "rand", "serde", "smallvec", @@ -5117,31 +5026,11 @@ dependencies = [ "fnv", "futures", "futures-timer", - "libp2p-core 0.42.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-identity", - "lru", - "multistream-select 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", - "once_cell", - "rand", - "smallvec", - "tracing", - "void", - "web-time", -] - -[[package]] -name = "libp2p-swarm" -version = "0.45.2" -dependencies = [ - "either", - "fnv", - "futures", - "futures-timer", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", "libp2p-swarm-derive", "lru", - "multistream-select 0.13.0", + "multistream-select", "once_cell", "rand", "smallvec", @@ -5154,6 +5043,8 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "206e0aa0ebe004d778d79fb0966aa0de996c19894e2c0605ba2f8524dd4443d8" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -5164,12 +5055,14 @@ dependencies = [ [[package]] name = "libp2p-tcp" version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad964f312c59dcfcac840acd8c555de8403e295d39edf96f5240048b5fcaa314" dependencies = [ "futures", "futures-timer", "if-watch", "libc", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", "socket2", "tokio", @@ -5179,10 +5072,12 @@ dependencies = [ [[package]] name = "libp2p-tls" version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b23dddc2b9c355f73c1e36eb0c3ae86f7dc964a3715f0731cfad352db4d847" dependencies = [ "futures", "futures-rustls", - "libp2p-core 0.42.0", + "libp2p-core", "libp2p-identity", "rcgen", "ring 0.17.8", @@ -5195,13 +5090,15 @@ dependencies = [ [[package]] name = "libp2p-upnp" -version = "0.3.1" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01bf2d1b772bd3abca049214a3304615e6a36fa6ffc742bdd1ba774486200b8f" dependencies = [ "futures", "futures-timer", "igd-next", - "libp2p-core 0.42.0", - "libp2p-swarm 0.45.2", + "libp2p-core", + "libp2p-swarm", "tokio", "tracing", "void", @@ -5484,18 +5381,6 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" -[[package]] -name = "multistream-select" -version = "0.13.0" -dependencies = [ - "bytes", - "futures", - "pin-project", - "smallvec", - "tracing", - "unsigned-varint 0.8.0", -] - [[package]] name = "multistream-select" version = "0.13.0" @@ -6619,17 +6504,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "quick-protobuf-codec" -version = "0.3.1" -dependencies = [ - "asynchronous-codec", - "bytes", - "quick-protobuf", - "thiserror 1.0.69", - "unsigned-varint 0.8.0", -] - [[package]] name = "quick-protobuf-codec" version = "0.3.1" @@ -7441,15 +7315,6 @@ dependencies = [ "wait-timeout", ] -[[package]] -name = "rw-stream-sink" -version = "0.4.0" -dependencies = [ - "futures", - "pin-project", - "static_assertions", -] - [[package]] name = "rw-stream-sink" version = "0.4.0" @@ -9807,7 +9672,7 @@ dependencies = [ "jsonrpsee 0.22.5", "k256", "lazy_static", - "libp2p 0.54.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p", "log", "octocrab", "primitive-types", @@ -9958,7 +9823,7 @@ dependencies = [ "itertools 0.13.0", "jsonrpsee 0.24.4", "k256", - "libp2p 0.54.1", + "libp2p", "lru", "lru-mem", "lz4",