diff --git a/Cargo.lock b/Cargo.lock index 53a9fc51d6..51ebf67c03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -164,7 +164,7 @@ dependencies = [ "alloy-transport", "futures", "futures-util", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -258,7 +258,7 @@ dependencies = [ "alloy-sol-types", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tracing", ] @@ -280,7 +280,7 @@ dependencies = [ "async-trait", "auto_impl", "futures-utils-wasm", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -353,7 +353,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "url", @@ -478,7 +478,7 @@ dependencies = [ "auto_impl", "elliptic-curve", "k256", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -566,7 +566,7 @@ dependencies = [ "futures-utils-wasm", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tower 0.5.1", "tracing", @@ -968,7 +968,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -1059,14 +1059,13 @@ dependencies = [ [[package]] name = "async-fs" -version = "1.6.0" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" +checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a" dependencies = [ - "async-lock 2.8.0", - "autocfg", + "async-lock 3.4.0", "blocking", - "futures-lite 1.13.0", + "futures-lite 2.5.0", ] [[package]] @@ -1145,13 +1144,13 @@ dependencies = [ [[package]] name = "async-net" -version = "1.8.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0434b1ed18ce1cf5769b8ac540e33f01fa9471058b5e89da9e06f3c882a8c12f" +checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" dependencies = [ - "async-io 1.13.0", + "async-io 2.4.0", "blocking", - "futures-lite 1.13.0", + "futures-lite 2.5.0", ] [[package]] @@ -1163,23 +1162,6 @@ dependencies = [ "async-std", ] -[[package]] -name = "async-process" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" -dependencies = [ - "async-io 1.13.0", - "async-lock 2.8.0", - "async-signal", - "blocking", - "cfg-if", - "event-listener 3.1.0", - "futures-lite 1.13.0", - "rustix 0.38.40", - "windows-sys 0.48.0", -] - [[package]] name = "async-process" version = "2.3.0" @@ -1199,6 +1181,17 @@ dependencies = [ "tracing", ] +[[package]] +name = "async-recursion" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "async-signal" version = "0.2.10" @@ -1228,7 +1221,7 @@ dependencies = [ "async-global-executor", "async-io 2.4.0", "async-lock 3.4.0", - "async-process 2.3.0", + "async-process", "crossbeam-utils", "futures-channel", "futures-core", @@ -1657,7 +1650,7 @@ dependencies = [ "strum 0.25.0", "strum_macros 0.25.3", "tempfile", - "thiserror", + "thiserror 1.0.69", "toml 0.8.19", ] @@ -1792,7 +1785,7 @@ dependencies = [ "hashbrown 0.13.2", "instant", "once_cell", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -1851,7 +1844,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1864,7 +1857,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1878,7 +1871,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1916,7 +1909,7 @@ dependencies = [ "clap", "log", "salsa", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1941,7 +1934,7 @@ dependencies = [ "log", "salsa", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1967,7 +1960,7 @@ dependencies = [ "log", "salsa", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1993,7 +1986,7 @@ dependencies = [ "rust-analyzer-salsa", "semver 1.0.23", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2252,7 +2245,7 @@ dependencies = [ "itertools 0.12.1", "rust-analyzer-salsa", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2562,7 +2555,7 @@ dependencies = [ "cairo-lang-filesystem 1.0.0-alpha.6", "serde", "smol_str 0.1.24", - "thiserror", + "thiserror 1.0.69", "toml 0.4.10", ] @@ -2574,7 +2567,7 @@ dependencies = [ "cairo-lang-filesystem 1.0.0-rc0", "serde", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", "toml 0.4.10", ] @@ -2587,7 +2580,7 @@ dependencies = [ "cairo-lang-filesystem 1.1.1", "serde", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", "toml 0.4.10", ] @@ -2600,7 +2593,7 @@ dependencies = [ "cairo-lang-filesystem 2.10.0-rc.1", "cairo-lang-utils 2.10.0-rc.1", "serde", - "thiserror", + "thiserror 1.0.69", "toml 0.8.19", ] @@ -2619,7 +2612,7 @@ dependencies = [ "cairo-lang-utils 2.10.0-rc.1", "cairo-vm", "itertools 0.12.1", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2649,7 +2642,7 @@ dependencies = [ "sha2", "smol_str 0.2.2", "starknet-types-core", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2767,7 +2760,7 @@ dependencies = [ "serde", "sha3", "smol_str 0.1.24", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2789,7 +2782,7 @@ dependencies = [ "serde", "sha3", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2812,7 +2805,7 @@ dependencies = [ "serde", "sha3", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2839,7 +2832,7 @@ dependencies = [ "sha3", "smol_str 0.2.2", "starknet-types-core", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2851,7 +2844,7 @@ dependencies = [ "cairo-lang-sierra 1.0.0-alpha.6", "cairo-lang-utils 1.0.0-alpha.6", "itertools 0.10.5", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2863,7 +2856,7 @@ dependencies = [ "cairo-lang-sierra 1.0.0-rc0", "cairo-lang-utils 1.0.0-rc0", "itertools 0.10.5", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2876,7 +2869,7 @@ dependencies = [ "cairo-lang-sierra 1.1.1", "cairo-lang-utils 1.1.1", "itertools 0.10.5", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2892,7 +2885,7 @@ dependencies = [ "itertools 0.12.1", "num-bigint 0.4.6", "num-traits", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2904,7 +2897,7 @@ dependencies = [ "cairo-lang-sierra 1.0.0-alpha.6", "cairo-lang-utils 1.0.0-alpha.6", "itertools 0.10.5", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2916,7 +2909,7 @@ dependencies = [ "cairo-lang-sierra 1.0.0-rc0", "cairo-lang-utils 1.0.0-rc0", "itertools 0.10.5", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2929,7 +2922,7 @@ dependencies = [ "cairo-lang-sierra 1.1.1", "cairo-lang-utils 1.1.1", "itertools 0.10.5", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2945,7 +2938,7 @@ dependencies = [ "itertools 0.12.1", "num-bigint 0.4.6", "num-traits", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3067,7 +3060,7 @@ dependencies = [ "log", "num-bigint 0.4.6", "num-traits", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3089,7 +3082,7 @@ dependencies = [ "log", "num-bigint 0.4.6", "num-traits", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3112,7 +3105,7 @@ dependencies = [ "log", "num-bigint 0.4.6", "num-traits", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3133,7 +3126,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "starknet-types-core", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3182,7 +3175,7 @@ dependencies = [ "serde_json", "sha3", "smol_str 0.1.24", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3222,7 +3215,7 @@ dependencies = [ "serde_json", "sha3", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3263,7 +3256,7 @@ dependencies = [ "serde_json", "sha3", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3293,7 +3286,7 @@ dependencies = [ "serde_json", "smol_str 0.2.2", "starknet-types-core", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3316,7 +3309,7 @@ dependencies = [ "sha3", "smol_str 0.2.2", "starknet-types-core", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3343,7 +3336,7 @@ dependencies = [ "num-traits", "salsa", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", "unescaper", ] @@ -3360,7 +3353,7 @@ dependencies = [ "num-traits", "salsa", "smol_str 0.2.2", - "thiserror", + "thiserror 1.0.69", "unescaper", ] @@ -4491,17 +4484,6 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" -[[package]] -name = "event-listener" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - [[package]] name = "event-listener" version = "5.3.1" @@ -4809,17 +4791,6 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" -[[package]] -name = "futures-ticker" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9763058047f713632a52e916cc7f6a4b3fc6e9fc1ff8c5b1dc49e5a89041682e" -dependencies = [ - "futures", - "futures-timer", - "instant", -] - [[package]] name = "futures-timer" version = "3.0.3" @@ -4883,6 +4854,19 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "generator" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc6bd114ceda131d3b1d665eba35788690ad37f5916457286b32ab6fd3c438dd" +dependencies = [ + "cfg-if", + "libc", + "log", + "rustversion", + "windows 0.58.0", +] + [[package]] name = "generic-array" version = "0.14.7" @@ -5175,10 +5159,11 @@ checksum = "b07f60793ff0a4d9cef0f18e63b5357e06209987153a64648c972c1e5aff336f" [[package]] name = "hickory-proto" -version = "0.24.1" +version = "0.25.0-alpha.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07698b8420e2f0d6447a436ba999ec85d8fbf2a398bbd737b82cac4a2e96e512" +checksum = "d063c0692ee669aa6d261988aa19ca5510f1cc40e4f211024f50c888499a35d7" dependencies = [ + "async-recursion", "async-trait", "cfg-if", "data-encoding", @@ -5186,12 +5171,12 @@ dependencies = [ "futures-channel", "futures-io", "futures-util", - "idna 0.4.0", + "idna 1.0.3", "ipnet", "once_cell", "rand", "socket2 0.5.7", - "thiserror", + "thiserror 2.0.11", "tinyvec", "tokio", "tracing", @@ -5200,21 +5185,21 @@ dependencies = [ [[package]] name = "hickory-resolver" -version = "0.24.1" +version = "0.25.0-alpha.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28757f23aa75c98f254cf0405e6d8c25b831b32921b050a66692427679b1f243" +checksum = "42bc352e4412fb657e795f79b4efcf2bd60b59ee5ca0187f3554194cd1107a27" dependencies = [ "cfg-if", "futures-util", "hickory-proto", "ipconfig", - "lru-cache", + "moka", "once_cell", "parking_lot 0.12.3", "rand", "resolv-conf", "smallvec", - "thiserror", + "thiserror 2.0.11", "tokio", "tracing", ] @@ -5618,16 +5603,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "idna" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "1.0.3" @@ -5661,9 +5636,9 @@ dependencies = [ [[package]] name = "if-watch" -version = "3.2.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" +checksum = "cdf9d64cfcf380606e64f9a0bcf493616b65331199f984151a6fa11a7b3cde38" dependencies = [ "async-io 2.4.0", "core-foundation", @@ -5672,11 +5647,15 @@ dependencies = [ "if-addrs", "ipnet", "log", + "netlink-packet-core", + "netlink-packet-route", + "netlink-proto", + "netlink-sys", "rtnetlink", "smol", "system-configuration", "tokio", - "windows", + "windows 0.51.1", ] [[package]] @@ -5687,16 +5666,18 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "igd-next" -version = "0.14.3" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "064d90fec10d541084e7b39ead8875a5a80d9114a2b18791565253bae25f49e4" +checksum = "76b0d7d4541def58a37bf8efc559683f21edce7c82f0d866c93ac21f7e098f93" dependencies = [ "async-trait", "attohttpc", "bytes", "futures", - "http 0.2.12", - "hyper 0.14.31", + "http 1.1.0", + "http-body-util", + "hyper 1.5.0", + "hyper-util", "log", "rand", "tokio", @@ -6097,9 +6078,9 @@ checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa" [[package]] name = "libp2p" -version = "0.54.1" +version = "0.55.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbe80f9c7e00526cd6b838075b9c171919404a4732cb2fa8ece0a093223bfc4" +checksum = "b72dc443ddd0254cb49a794ed6b6728400ee446a0f7ab4a07d0209ee98de20e9" dependencies = [ "bytes", "either", @@ -6130,30 +6111,28 @@ dependencies = [ "multiaddr", "pin-project", "rw-stream-sink", - "thiserror", + "thiserror 2.0.11", ] [[package]] name = "libp2p-allow-block-list" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1027ccf8d70320ed77e984f273bc8ce952f623762cb9bf2d126df73caef8041" +checksum = "38944b7cb981cc93f2f0fb411ff82d0e983bd226fbcc8d559639a3a73236568b" dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "void", ] [[package]] name = "libp2p-autonat" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a083675f189803d0682a2726131628e808144911dad076858bfbe30b13065499" +checksum = "e297bfc6cabb70c6180707f8fa05661b77ecb9cb67e8e8e1c469301358fa21d0" dependencies = [ "async-trait", "asynchronous-codec", - "bytes", "either", "futures", "futures-bounded", @@ -6166,29 +6145,27 @@ dependencies = [ "quick-protobuf-codec", "rand", "rand_core", - "thiserror", + "thiserror 2.0.11", "tracing", - "void", "web-time", ] [[package]] name = "libp2p-connection-limits" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d003540ee8baef0d254f7b6bfd79bac3ddf774662ca0abf69186d517ef82ad8" +checksum = "efe9323175a17caa8a2ed4feaf8a548eeef5e0b72d03840a0eab4bcb0210ce1c" dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "void", ] [[package]] name = "libp2p-core" -version = "0.42.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a61f26c83ed111104cd820fe9bc3aaabbac5f1652a1d213ed6e900b7918a1298" +checksum = "193c75710ba43f7504ad8f58a62ca0615b1d7e572cb0f1780bc607252c39e9ef" dependencies = [ "either", "fnv", @@ -6204,20 +6181,17 @@ dependencies = [ "quick-protobuf", "rand", "rw-stream-sink", - "serde", - "smallvec", - "thiserror", + "thiserror 2.0.11", "tracing", "unsigned-varint 0.8.0", - "void", "web-time", ] [[package]] name = "libp2p-dcutr" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3236a2e24cbcf2d05b398b003ed920e1e8cedede13784d90fa3961b109647ce0" +checksum = "0a6c2c365b66866da34d06dfe41e001b49b9cfb5cafff6b9c4718eb2da7e35a4" dependencies = [ "asynchronous-codec", "either", @@ -6230,17 +6204,16 @@ dependencies = [ "lru", "quick-protobuf", "quick-protobuf-codec", - "thiserror", + "thiserror 2.0.11", "tracing", - "void", "web-time", ] [[package]] name = "libp2p-dns" -version = "0.42.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97f37f30d5c7275db282ecd86e54f29dd2176bd3ac656f06abf43bedb21eb8bd" +checksum = "1b780a1150214155b0ed1cdf09fbd2e1b0442604f9146a431d1b21d23eef7bd7" dependencies = [ "async-trait", "futures", @@ -6254,10 +6227,11 @@ dependencies = [ [[package]] name = "libp2p-gossipsub" -version = "0.47.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4e830fdf24ac8c444c12415903174d506e1e077fbe3875c404a78c5935a8543" +checksum = "d558548fa3b5a8e9b66392f785921e363c57c05dcadfda4db0d41ae82d313e4a" dependencies = [ + "async-channel 2.3.1", "asynchronous-codec", "base64 0.22.1", "byteorder", @@ -6265,8 +6239,9 @@ dependencies = [ "either", "fnv", "futures", - "futures-ticker", + "futures-timer", "getrandom", + "hashlink", "hex_fmt", "libp2p-core", "libp2p-identity", @@ -6278,17 +6253,15 @@ dependencies = [ "regex", "serde", "sha2", - "smallvec", "tracing", - "void", "web-time", ] [[package]] name = "libp2p-identify" -version = "0.45.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1711b004a273be4f30202778856368683bd9a83c4c7dcc8f848847606831a4e3" +checksum = "e8c06862544f02d05d62780ff590cc25a75f5c2b9df38ec7a370dcae8bb873cf" dependencies = [ "asynchronous-codec", "either", @@ -6298,20 +6271,18 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "lru", "quick-protobuf", "quick-protobuf-codec", "smallvec", - "thiserror", + "thiserror 2.0.11", "tracing", - "void", ] [[package]] name = "libp2p-identity" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cca1eb2bc1fd29f099f3daaab7effd01e1a54b7c577d0ed082521034d912e8" +checksum = "257b5621d159b32282eac446bed6670c39c7dc68a200a992d8f056afa0066f6d" dependencies = [ "bs58", "ed25519-dalek", @@ -6321,18 +6292,17 @@ dependencies = [ "rand", "serde", "sha2", - "thiserror", + "thiserror 1.0.69", "tracing", "zeroize", ] [[package]] name = "libp2p-kad" -version = "0.46.2" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced237d0bd84bbebb7c2cad4c073160dacb4fe40534963c32ed6d4c6bb7702a3" +checksum = "2bab0466a27ebe955bcbc27328fae5429c5b48c915fd6174931414149802ec23" dependencies = [ - "arrayvec", "asynchronous-codec", "bytes", "either", @@ -6349,20 +6319,18 @@ dependencies = [ "serde", "sha2", "smallvec", - "thiserror", + "thiserror 2.0.11", "tracing", - "uint", - "void", + "uint 0.10.0", "web-time", ] [[package]] name = "libp2p-mdns" -version = "0.46.0" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14b8546b6644032565eb29046b42744aee1e9f261ed99671b2c93fb140dba417" +checksum = "11d0ba095e1175d797540e16b62e7576846b883cb5046d4159086837b36846cc" dependencies = [ - "data-encoding", "futures", "hickory-proto", "if-watch", @@ -6374,14 +6342,13 @@ dependencies = [ "socket2 0.5.7", "tokio", "tracing", - "void", ] [[package]] name = "libp2p-metrics" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ebafa94a717c8442d8db8d3ae5d1c6a15e30f2d347e0cd31d057ca72e42566" +checksum = "2ce58c64292e87af624fcb86465e7dd8342e46a388d71e8fec0ab37ee789630a" dependencies = [ "futures", "libp2p-core", @@ -6400,13 +6367,12 @@ dependencies = [ [[package]] name = "libp2p-noise" -version = "0.45.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36b137cb1ae86ee39f8e5d6245a296518912014eaa87427d24e6ff58cfc1b28c" +checksum = "afcc133e0f3cea07acde6eb8a9665cb11b600bd61110b010593a0210b8153b16" dependencies = [ "asynchronous-codec", "bytes", - "curve25519-dalek", "futures", "libp2p-core", "libp2p-identity", @@ -6415,10 +6381,9 @@ dependencies = [ "once_cell", "quick-protobuf", "rand", - "sha2", "snow", "static_assertions", - "thiserror", + "thiserror 2.0.11", "tracing", "x25519-dalek", "zeroize", @@ -6426,11 +6391,10 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.45.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "005a34420359223b974ee344457095f027e51346e992d1e0dcd35173f4cdd422" +checksum = "7b2529993ff22deb2504c0130a58b60fb77f036be555053922db1a0490b5798b" dependencies = [ - "either", "futures", "futures-timer", "libp2p-core", @@ -6438,15 +6402,14 @@ dependencies = [ "libp2p-swarm", "rand", "tracing", - "void", "web-time", ] [[package]] name = "libp2p-plaintext" -version = "0.42.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63d926c6be56a2489e0e7316b17fe95a70bc5c4f3e85740bb3e67c0f3c6a44" +checksum = "7e659439578fc6d305da8303834beb9d62f155f40e7f5b9d81c9f2b2c69d1926" dependencies = [ "asynchronous-codec", "bytes", @@ -6460,33 +6423,31 @@ dependencies = [ [[package]] name = "libp2p-quic" -version = "0.11.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46352ac5cd040c70e88e7ff8257a2ae2f891a4076abad2c439584a31c15fd24e" +checksum = "41432a159b00424a0abaa2c80d786cddff81055ac24aa127e0cf375f7858d880" dependencies = [ - "bytes", "futures", "futures-timer", "if-watch", "libp2p-core", "libp2p-identity", "libp2p-tls", - "parking_lot 0.12.3", "quinn", "rand", "ring 0.17.8", "rustls", "socket2 0.5.7", - "thiserror", + "thiserror 2.0.11", "tokio", "tracing", ] [[package]] name = "libp2p-relay" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10df23d7f5b5adcc129f4a69d6fbd05209e356ccf9e8f4eb10b2692b79c77247" +checksum = "08a41e346681395877118c270cf993f90d57d045fbf0913ca2f07b59ec6062e4" dependencies = [ "asynchronous-codec", "bytes", @@ -6501,37 +6462,33 @@ dependencies = [ "quick-protobuf-codec", "rand", "static_assertions", - "thiserror", + "thiserror 2.0.11", "tracing", - "void", "web-time", ] [[package]] name = "libp2p-request-response" -version = "0.27.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1356c9e376a94a75ae830c42cdaea3d4fe1290ba409a22c809033d1b7dcab0a6" +checksum = "548fe44a80ff275d400f1b26b090d441d83ef73efabbeb6415f4ce37e5aed865" dependencies = [ "async-trait", "futures", "futures-bounded", - "futures-timer", "libp2p-core", "libp2p-identity", "libp2p-swarm", "rand", "smallvec", "tracing", - "void", - "web-time", ] [[package]] name = "libp2p-swarm" -version = "0.45.1" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7dd6741793d2c1fb2088f67f82cf07261f25272ebe3c0b0c311e0c6b50e851a" +checksum = "803399b4b6f68adb85e63ab573ac568154b193e9a640f03e0f2890eabbcb37f8" dependencies = [ "async-std", "either", @@ -6548,7 +6505,6 @@ dependencies = [ "smallvec", "tokio", "tracing", - "void", "web-time", ] @@ -6566,9 +6522,9 @@ dependencies = [ [[package]] name = "libp2p-swarm-test" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea4e1d1d92421dc4c90cad42e3cd24f50fd210191c9f126d41bd483a09567f67" +checksum = "2bb6354e3a50496d750805f6cf33679bd698850d535602f42c61e465e0734d0b" dependencies = [ "async-trait", "futures", @@ -6579,15 +6535,14 @@ dependencies = [ "libp2p-swarm", "libp2p-tcp", "libp2p-yamux", - "rand", "tracing", ] [[package]] name = "libp2p-tcp" -version = "0.42.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad964f312c59dcfcac840acd8c555de8403e295d39edf96f5240048b5fcaa314" +checksum = "65346fb4d36035b23fec4e7be4c320436ba53537ce9b6be1d1db1f70c905cad0" dependencies = [ "async-io 2.4.0", "futures", @@ -6595,7 +6550,6 @@ dependencies = [ "if-watch", "libc", "libp2p-core", - "libp2p-identity", "socket2 0.5.7", "tokio", "tracing", @@ -6603,9 +6557,9 @@ dependencies = [ [[package]] name = "libp2p-tls" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47b23dddc2b9c355f73c1e36eb0c3ae86f7dc964a3715f0731cfad352db4d847" +checksum = "dcaebc1069dea12c5b86a597eaaddae0317c2c2cb9ec99dc94f82fd340f5c78b" dependencies = [ "futures", "futures-rustls", @@ -6615,16 +6569,16 @@ dependencies = [ "ring 0.17.8", "rustls", "rustls-webpki 0.101.7", - "thiserror", + "thiserror 2.0.11", "x509-parser", "yasna", ] [[package]] name = "libp2p-upnp" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01bf2d1b772bd3abca049214a3304615e6a36fa6ffc742bdd1ba774486200b8f" +checksum = "d457b9ecceb66e7199f049926fad447f1f17f040e8d29d690c086b4cab8ed14a" dependencies = [ "futures", "futures-timer", @@ -6633,19 +6587,18 @@ dependencies = [ "libp2p-swarm", "tokio", "tracing", - "void", ] [[package]] name = "libp2p-yamux" -version = "0.46.0" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "788b61c80789dba9760d8c669a5bedb642c8267555c803fabd8396e4ca5c5882" +checksum = "f15df094914eb4af272acf9adaa9e287baa269943f32ea348ba29cfb9bfc60d8" dependencies = [ "either", "futures", "libp2p-core", - "thiserror", + "thiserror 2.0.11", "tracing", "yamux 0.12.1", "yamux 0.13.3", @@ -6672,12 +6625,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - [[package]] name = "linux-raw-sys" version = "0.3.8" @@ -6716,21 +6663,25 @@ dependencies = [ ] [[package]] -name = "lru" -version = "0.12.5" +name = "loom" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" dependencies = [ - "hashbrown 0.15.1", + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", ] [[package]] -name = "lru-cache" -version = "0.1.2" +name = "lru" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" dependencies = [ - "linked-hash-map", + "hashbrown 0.15.1", ] [[package]] @@ -6810,7 +6761,7 @@ dependencies = [ "parking_lot 0.12.3", "portable-atomic 0.3.20", "quanta", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", ] @@ -6923,6 +6874,25 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "moka" +version = "0.12.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9321642ca94a4282428e6ea4af8cc2ca4eac48ac7a6a4ea8f33f76d0ce70926" +dependencies = [ + "crossbeam-channel", + "crossbeam-epoch", + "crossbeam-utils", + "loom", + "parking_lot 0.12.3", + "portable-atomic 1.9.0", + "rustc_version 0.4.1", + "smallvec", + "tagptr", + "thiserror 1.0.69", + "uuid", +] + [[package]] name = "multer" version = "2.1.0" @@ -7028,21 +6998,20 @@ dependencies = [ [[package]] name = "netlink-packet-core" -version = "0.4.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345b8ab5bd4e71a2986663e88c56856699d060e78e152e6e9d7966fcd5491297" +checksum = "72724faf704479d67b388da142b186f916188505e7e0b26719019c525882eda4" dependencies = [ "anyhow", "byteorder", - "libc", "netlink-packet-utils", ] [[package]] name = "netlink-packet-route" -version = "0.12.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" +checksum = "053998cea5a306971f88580d0829e90f270f940befd7cf928da179d4187a5a66" dependencies = [ "anyhow", "bitflags 1.3.2", @@ -7061,22 +7030,21 @@ dependencies = [ "anyhow", "byteorder", "paste", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "netlink-proto" -version = "0.10.0" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" +checksum = "b2741a6c259755922e3ed29ebce3b299cc2160c4acae94b465b5938ab02c2bbe" dependencies = [ "bytes", "futures", "log", "netlink-packet-core", "netlink-sys", - "thiserror", - "tokio", + "thiserror 2.0.11", ] [[package]] @@ -7101,9 +7069,9 @@ checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] name = "nix" -version = "0.24.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" +checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" dependencies = [ "bitflags 1.3.2", "cfg-if", @@ -7437,7 +7405,7 @@ dependencies = [ "serde_json", "starknet_infra_utils", "strum_macros 0.25.3", - "thiserror", + "thiserror 1.0.69", "tracing", "validator", ] @@ -7607,7 +7575,7 @@ dependencies = [ "starknet_api", "tempfile", "test-log", - "thiserror", + "thiserror 1.0.69", "time", "tokio", "tokio-stream", @@ -7646,7 +7614,7 @@ dependencies = [ "serde_with", "sha3", "starknet-gateway-test-fixtures", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -7671,7 +7639,7 @@ dependencies = [ "sha3", "tagged", "tagged-debug-derive", - "thiserror", + "thiserror 1.0.69", "vergen", ] @@ -7768,7 +7736,7 @@ dependencies = [ "rand", "rayon", "starknet-gateway-types", - "thiserror", + "thiserror 1.0.69", "tracing", ] @@ -7826,7 +7794,7 @@ dependencies = [ "starknet_api", "tempfile", "test-log", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-tungstenite 0.21.0", "tower 0.4.13", @@ -7888,7 +7856,7 @@ dependencies = [ "starknet-gateway-types", "tempfile", "test-log", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "tracing-subscriber", @@ -7930,7 +7898,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.69", "ucd-trie", ] @@ -8266,7 +8234,7 @@ dependencies = [ "fixed-hash", "impl-codec", "impl-serde", - "uint", + "uint 0.9.5", ] [[package]] @@ -8501,15 +8469,15 @@ dependencies = [ "asynchronous-codec", "bytes", "quick-protobuf", - "thiserror", + "thiserror 1.0.69", "unsigned-varint 0.8.0", ] [[package]] name = "quinn" -version = "0.11.5" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c7c5fdde3cdae7203427dc4f0a68fe0ed09833edc525a03456b153b79828684" +checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" dependencies = [ "bytes", "futures-io", @@ -8519,26 +8487,29 @@ dependencies = [ "rustc-hash 2.0.0", "rustls", "socket2 0.5.7", - "thiserror", + "thiserror 2.0.11", "tokio", "tracing", ] [[package]] name = "quinn-proto" -version = "0.11.8" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6" +checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes", + "getrandom", "rand", "ring 0.17.8", "rustc-hash 2.0.0", "rustls", + "rustls-pki-types", "slab", - "thiserror", + "thiserror 2.0.11", "tinyvec", "tracing", + "web-time", ] [[package]] @@ -8705,7 +8676,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -8903,17 +8874,20 @@ dependencies = [ [[package]] name = "rtnetlink" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" +checksum = "7a552eb82d19f38c3beed3f786bd23aa434ceb9ac43ab44419ca6d67a7e186c0" dependencies = [ "async-global-executor", "futures", "log", + "netlink-packet-core", "netlink-packet-route", + "netlink-packet-utils", "netlink-proto", + "netlink-sys", "nix", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -9119,6 +9093,9 @@ name = "rustls-pki-types" version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" +dependencies = [ + "web-time", +] [[package]] name = "rustls-webpki" @@ -9570,19 +9547,19 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" -version = "1.3.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13f2b548cd8447f8de0fdf1c592929f70f4fc7039a05e47404b0d096ec6987a1" +checksum = "a33bd3e260892199c3ccfc487c88b2da2265080acb316cd920da72fdfd7c599f" dependencies = [ - "async-channel 1.9.0", + "async-channel 2.3.1", "async-executor", "async-fs", - "async-io 1.13.0", - "async-lock 2.8.0", + "async-io 2.4.0", + "async-lock 3.4.0", "async-net", - "async-process 1.8.1", + "async-process", "blocking", - "futures-lite 1.13.0", + "futures-lite 2.5.0", ] [[package]] @@ -9824,7 +9801,7 @@ dependencies = [ "serde_with", "sha3", "starknet-gateway-test-fixtures", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -9868,7 +9845,7 @@ dependencies = [ "starknet-types-core", "strum 0.25.0", "strum_macros 0.25.3", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -9898,7 +9875,7 @@ dependencies = [ "starknet_api", "starknet_infra_utils", "tempfile", - "thiserror", + "thiserror 1.0.69", "validator", ] @@ -10042,20 +10019,20 @@ dependencies = [ [[package]] name = "system-configuration" -version = "0.5.1" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "core-foundation", "system-configuration-sys", ] [[package]] name = "system-configuration-sys" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" dependencies = [ "core-foundation-sys", "libc", @@ -10080,6 +10057,12 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "tagptr" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" + [[package]] name = "tap" version = "1.0.1" @@ -10163,7 +10146,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +dependencies = [ + "thiserror-impl 2.0.11", ] [[package]] @@ -10177,6 +10169,17 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "thiserror-impl" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "thiserror-impl-no-std" version = "2.0.2" @@ -10562,9 +10565,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "log", "pin-project-lite", @@ -10574,9 +10577,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", @@ -10585,9 +10588,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" dependencies = [ "once_cell", "valuable", @@ -10666,7 +10669,7 @@ dependencies = [ "log", "rand", "sha1", - "thiserror", + "thiserror 1.0.69", "url", "utf-8", ] @@ -10687,7 +10690,7 @@ dependencies = [ "rustls", "rustls-pki-types", "sha1", - "thiserror", + "thiserror 1.0.69", "utf-8", ] @@ -10705,7 +10708,7 @@ dependencies = [ "log", "rand", "sha1", - "thiserror", + "thiserror 1.0.69", "utf-8", ] @@ -10733,6 +10736,18 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "uint" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "909988d098b2f738727b161a106cfc7cab00c539c2687a8836f8e565976fb53e" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + [[package]] name = "unarray" version = "0.1.4" @@ -10745,7 +10760,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c878a167baa8afd137494101a688ef8c67125089ff2249284bd2b5f9bfedb815" dependencies = [ - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -11192,6 +11207,16 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" +dependencies = [ + "windows-core 0.58.0", + "windows-targets 0.52.6", +] + [[package]] name = "windows-core" version = "0.51.1" @@ -11210,6 +11235,41 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-core" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-result", + "windows-strings", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-implement" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + +[[package]] +name = "windows-interface" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "windows-registry" version = "0.2.0" @@ -11432,7 +11492,7 @@ dependencies = [ "pharos", "rustc_version 0.4.1", "send_wrapper", - "thiserror", + "thiserror 1.0.69", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -11472,7 +11532,7 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] diff --git a/Cargo.toml b/Cargo.toml index 6983f59272..be24d02826 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -90,10 +90,10 @@ hyper = "1.0.0" ipnet = "2.9.0" jemallocator = "0.5.4" keccak-hash = "0.10.0" -libp2p = { version = "0.54.1", default-features = false } +libp2p = { version = "0.55.0", default-features = false } libp2p-identity = "0.2.2" -libp2p-plaintext = "0.42.0" -libp2p-swarm-test = "0.4.0" +libp2p-plaintext = "0.43.0" +libp2p-swarm-test = "0.5.0" metrics = "0.20.1" metrics-exporter-prometheus = "0.11.0" mime = "0.3" diff --git a/crates/p2p_stream/src/handler.rs b/crates/p2p_stream/src/handler.rs index fbfc192e24..3db95fc71a 100644 --- a/crates/p2p_stream/src/handler.rs +++ b/crates/p2p_stream/src/handler.rs @@ -142,11 +142,8 @@ where &mut self, FullyNegotiatedInbound { protocol: (mut stream, protocol), - info: (), - }: FullyNegotiatedInbound< - ::InboundProtocol, - ::InboundOpenInfo, - >, + .. + }: FullyNegotiatedInbound<::InboundProtocol>, ) { let mut codec = self.codec.clone(); let request_id = self.next_inbound_request_id(); @@ -191,11 +188,8 @@ where &mut self, FullyNegotiatedOutbound { protocol: (mut stream, protocol), - info: (), - }: FullyNegotiatedOutbound< - ::OutboundProtocol, - ::OutboundOpenInfo, - >, + .. + }: FullyNegotiatedOutbound<::OutboundProtocol>, ) { let message = self .requested_outbound @@ -261,8 +255,8 @@ where fn on_dial_upgrade_error( &mut self, - DialUpgradeError { error, info: () }: DialUpgradeError< - ::OutboundOpenInfo, + DialUpgradeError { error, .. }: DialUpgradeError< + (), ::OutboundProtocol, >, ) { @@ -298,7 +292,7 @@ where fn on_listen_upgrade_error( &mut self, ListenUpgradeError { error, .. }: ListenUpgradeError< - ::InboundOpenInfo, + (), ::InboundProtocol, >, ) { @@ -427,7 +421,7 @@ where type OutboundOpenInfo = (); type InboundOpenInfo = (); - fn listen_protocol(&self) -> SubstreamProtocol { + fn listen_protocol(&self) -> SubstreamProtocol { SubstreamProtocol::new( Protocol { protocols: self.inbound_protocols.clone(), @@ -528,13 +522,7 @@ where fn on_connection_event( &mut self, - event: ConnectionEvent< - '_, - Self::InboundProtocol, - Self::OutboundProtocol, - Self::InboundOpenInfo, - Self::OutboundOpenInfo, - >, + event: ConnectionEvent<'_, Self::InboundProtocol, Self::OutboundProtocol>, ) { match event { ConnectionEvent::FullyNegotiatedInbound(fully_negotiated_inbound) => {