From 783ba5aa2048c3cf31f9b9ba57ea1762c1e8073b Mon Sep 17 00:00:00 2001 From: sanlee42 Date: Fri, 9 Aug 2024 11:15:44 +0800 Subject: [PATCH] Upgrade tokio to 1.39.2 --- Cargo.lock | 301 +++++++++++++++++++++++++++++++++-------------------- Cargo.toml | 2 +- 2 files changed, 192 insertions(+), 111 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 823f09a899..cc20acbab3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -26,7 +26,7 @@ dependencies = [ "log 0.4.17", "once_cell", "parking_lot 0.12.1", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "smallvec 1.10.0", "tokio", "tokio-util 0.7.7", @@ -59,7 +59,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d44b8fee1ced9671ba043476deddef739dd0959bf77030b26b738cc591737a7" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -342,7 +342,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db8b7511298d5b7784b40b092d9e9dcd3a627a5707e4b5e507931ab0d44eeebf" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", "synstructure", @@ -354,7 +354,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", "synstructure", @@ -366,7 +366,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -407,7 +407,7 @@ dependencies = [ "flate2", "futures-core", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "tokio", ] @@ -456,7 +456,7 @@ dependencies = [ "parking", "polling", "slab", - "socket2", + "socket2 0.4.7", "waker-fn", "windows-sys 0.42.0", ] @@ -492,7 +492,7 @@ dependencies = [ "log 0.4.17", "memchr", "once_cell", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "pin-utils", "slab", "wasm-bindgen-futures", @@ -510,7 +510,7 @@ version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1cd7fce9ba8c3c042128ce72d8b2ddbf3a05747efb67ea0313c635e10bda47a2" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -525,7 +525,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", ] [[package]] @@ -538,7 +538,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", ] [[package]] @@ -731,7 +731,7 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3deeecb812ca5300b7d3f66f730cc2ebd3511c3d36c691dd79c165d5b19a26e3" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -760,7 +760,7 @@ dependencies = [ "lazycell", "log 0.4.17", "peeking_take_while", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "regex", "rustc-hash", @@ -781,7 +781,7 @@ dependencies = [ "lazycell", "peeking_take_while", "prettyplease 0.2.6", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "regex", "rustc-hash", @@ -1241,7 +1241,7 @@ checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" dependencies = [ "heck 0.4.1", "proc-macro-error", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -1879,7 +1879,7 @@ dependencies = [ "cc", "codespan-reporting", "once_cell", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "scratch", "syn 1.0.107", @@ -1897,7 +1897,7 @@ version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "086c685979a698443656e5cf7856c95c642295a38599f12fb1ff76fb28d19892" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -1964,7 +1964,7 @@ checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "strsim 0.9.3", "syn 1.0.107", @@ -1978,7 +1978,7 @@ checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "strsim 0.10.0", "syn 1.0.107", @@ -1992,7 +1992,7 @@ checksum = "001d80444f28e193f30c2f293455da62dcf9a6b29918a4253152ae2b1de592cb" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "strsim 0.10.0", "syn 1.0.107", @@ -2221,7 +2221,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -2232,7 +2232,7 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8beee4701e2e229e8098bbdecdca12449bc3e322f137d269182fa1291e20bd00" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -2278,7 +2278,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f91d4cfa921f1c05904dc3c57b4a32c38aed3340cce209f3a6fd1478babafc4" dependencies = [ "darling 0.14.3", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -2300,7 +2300,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ "convert_case", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "rustc_version 0.4.0", "syn 1.0.107", @@ -2358,7 +2358,7 @@ name = "diem-crypto-derive" version = "0.0.3" source = "git+https://github.com/starcoinorg/starcoin-crypto?rev=8d41c280a227594ca0a2b6ecba580643518274ea#8d41c280a227594ca0a2b6ecba580643518274ea" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -2456,7 +2456,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3bf95dc3f046b9da4f2d51833c0d3547d8564ef6910f5c1ed130306a75b92886" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -2600,7 +2600,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -2989,7 +2989,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "waker-fn", ] @@ -2999,7 +2999,7 @@ version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95a73af87da33b5acf53acfebdc339fe592ecf5357ac7c0a7734ab9d8c876a70" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -3011,7 +3011,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fde5a672a61f96552aa5ed9fd9c81c3fbdae4be9b1e205d6eaf17c83705adc0f" dependencies = [ "futures 0.3.26", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "tokio", ] @@ -3058,7 +3058,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "pin-utils", "slab", ] @@ -3190,7 +3190,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe69f1cbdb6e28af2bac214e943b99ce8a0a06b447d15d3e61161b0423139f3f" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -3354,9 +3354,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.1" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" @@ -3466,7 +3466,7 @@ checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes 1.6.1", "http", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", ] [[package]] @@ -3528,8 +3528,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.9", - "socket2", + "pin-project-lite 0.2.14", + "socket2 0.4.7", "tokio", "tower-service", "tracing", @@ -3713,7 +3713,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -3737,7 +3737,7 @@ checksum = "0a0c890c85da4bab7bce4204c707396bbd3c6c8a681716a51c8814cfc2b682df" dependencies = [ "anyhow", "proc-macro-hack", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -3854,7 +3854,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd302af1b90f2463a98fa5ad469fc212c8e3175a41c3068601bfa2727591c5be" dependencies = [ - "socket2", + "socket2 0.4.7", "widestring", "winapi 0.3.9", "winreg", @@ -3872,7 +3872,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22e18b0a45d56fe973d6db23972bf5bc46f988a4a2385deac9cc29572f09daef" dependencies = [ - "hermit-abi 0.3.1", + "hermit-abi 0.3.9", "io-lifetimes", "rustix", "windows-sys 0.45.0", @@ -4040,7 +4040,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2" dependencies = [ "proc-macro-crate 0.1.5", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -4051,7 +4051,7 @@ version = "18.0.0" source = "git+https://github.com/starcoinorg/jsonrpc?rev=e895b6cc5897f3813a953a9a6bb4718b4856ab19#e895b6cc5897f3813a953a9a6bb4718b4856ab19" dependencies = [ "proc-macro-crate 0.1.5", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -4259,9 +4259,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.139" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libloading" @@ -4430,7 +4430,7 @@ dependencies = [ "log 0.4.17", "rand 0.8.5", "smallvec 1.10.0", - "socket2", + "socket2 0.4.7", "tokio", "trust-dns-proto", "void", @@ -4591,7 +4591,7 @@ dependencies = [ "libc", "libp2p-core", "log 0.4.17", - "socket2", + "socket2 0.4.7", "tokio", ] @@ -5074,14 +5074,14 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.6" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" +checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4" dependencies = [ + "hermit-abi 0.3.9", "libc", - "log 0.4.17", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.45.0", + "windows-sys 0.52.0", ] [[package]] @@ -5956,7 +5956,7 @@ checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro-error", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", "synstructure", @@ -6192,7 +6192,7 @@ name = "network-p2p-derive" version = "2.0.1" dependencies = [ "anyhow", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -6370,7 +6370,7 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -6463,7 +6463,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0629cbd6b897944899b1f10496d9c4a7ac5878d45fd61bc22e9e79bfbbc29597" dependencies = [ "proc-macro-crate 1.1.3", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -6543,7 +6543,7 @@ dependencies = [ "jsonrpc-derive 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "openrpc-schema", "proc-macro-crate 0.1.5", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -6579,7 +6579,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -6645,7 +6645,7 @@ checksum = "03f2cb802b5bdfdf52f1ffa0b54ce105e4d346e91990dd571f86c91321ad49e2" dependencies = [ "Inflector", "proc-macro-error", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -6715,7 +6715,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" dependencies = [ "proc-macro-crate 1.1.3", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -6957,7 +6957,7 @@ checksum = "d06646e185566b5961b4058dd107e0a7f56e77c3f484549fb119867773c0f202" dependencies = [ "pest 2.5.5", "pest_meta", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -7056,7 +7056,7 @@ version = "0.4.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "851c8d0ce9bebe43790dedfc86614c23494ac9f423dd618d3a61fc693eafe61e" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -7067,7 +7067,7 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -7080,9 +7080,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.9" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -7254,7 +7254,7 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e97e3215779627f01ee256d2fad52f3d95e8e1c11e9fc6fd08f7cd455d5d5c78" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "syn 1.0.107", ] @@ -7264,7 +7264,7 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b69d39aab54d069e7f2fe8cb970493e7834601ca2d8c65fd7bbd183578080d1" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "syn 2.0.18", ] @@ -7333,7 +7333,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", "version_check 0.9.4", @@ -7345,7 +7345,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "version_check 0.9.4", ] @@ -7367,9 +7367,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.59" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] @@ -7409,7 +7409,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "66a455fbcb954c1a7decf3c586e860fd7889cddf4b8e164be736dbac95a953cd" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -7499,7 +7499,7 @@ checksum = "8bda8c0881ea9f722eb9629376db3d0b903b462477c1aafcb0566610ac28ac5d" dependencies = [ "anyhow", "itertools", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -7638,7 +7638,7 @@ version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", ] [[package]] @@ -8003,7 +8003,7 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f9c0c92af03644e4806106281fe2e068ac5bc0ae74a707266d06ea27bccee5f" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -8064,7 +8064,7 @@ dependencies = [ "native-tls", "once_cell", "percent-encoding 2.2.0", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "serde 1.0.152", "serde_json", "serde_urlencoded", @@ -8171,7 +8171,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -8265,7 +8265,7 @@ version = "6.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31ab23d42d71fb9be1b643fe6765d292c5e14d46912d13f3ae2815ca048ea04d" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "rust-embed-utils", "syn 1.0.107", @@ -8512,7 +8512,7 @@ name = "schemars_derive" version = "0.8.8" source = "git+https://github.com/starcoinorg/schemars?rev=9b3705780b8fe9c8676ff82919869ba7405b1062#9b3705780b8fe9c8676ff82919869ba7405b1062" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "serde_derive_internals", "syn 1.0.107", @@ -8770,7 +8770,7 @@ version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -8781,7 +8781,7 @@ version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1dbab34ca63057a1f15280bdf3c39f2b1eb1b54c17e98360e511637aef7418c6" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -8826,7 +8826,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" dependencies = [ "darling 0.13.4", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -9145,6 +9145,16 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "socket2" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "soketto" version = "0.7.1" @@ -9670,7 +9680,7 @@ name = "starcoin-crypto-macro" version = "1.10.0-rc.2" source = "git+https://github.com/starcoinorg/starcoin-crypto?rev=8d41c280a227594ca0a2b6ecba580643518274ea#8d41c280a227594ca0a2b6ecba580643518274ea" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -11451,7 +11461,7 @@ checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" dependencies = [ "heck 0.3.3", "proc-macro-error", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -11541,7 +11551,7 @@ version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "unicode-ident", ] @@ -11552,7 +11562,7 @@ version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "unicode-ident", ] @@ -11572,7 +11582,7 @@ version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", "unicode-xid 0.2.4", @@ -11865,7 +11875,7 @@ version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -12005,22 +12015,20 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.25.0" +version = "1.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af" +checksum = "daa4fb1bc778bd6f04cbfc4bb2d06a7396a8f299dc33ea1900cedaa316f467b1" dependencies = [ - "autocfg 1.1.0", + "backtrace", "bytes 1.6.1", "libc", - "memchr", - "mio 0.8.6", - "num_cpus", + "mio 1.0.1", "parking_lot 0.12.1", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "signal-hook-registry", - "socket2", + "socket2 0.5.7", "tokio-macros", - "windows-sys 0.42.0", + "windows-sys 0.52.0", ] [[package]] @@ -12068,13 +12076,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.8.2" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", - "syn 1.0.107", + "syn 2.0.18", ] [[package]] @@ -12113,7 +12121,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d660770404473ccd7bc9f8b28494a811bc18542b915c0855c51e8f419d5223ce" dependencies = [ "futures-core", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "tokio", ] @@ -12173,7 +12181,7 @@ dependencies = [ "futures-core", "futures-sink", "log 0.4.17", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "tokio", ] @@ -12187,7 +12195,7 @@ dependencies = [ "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "tokio", "tracing", ] @@ -12235,7 +12243,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if 1.0.0", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.14", "tracing-attributes", "tracing-core", ] @@ -12246,7 +12254,7 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", ] @@ -12314,7 +12322,7 @@ dependencies = [ "lazy_static 1.4.0", "rand 0.8.5", "smallvec 1.10.0", - "socket2", + "socket2 0.4.7", "thiserror", "tinyvec", "tokio", @@ -12810,7 +12818,7 @@ dependencies = [ "bumpalo", "log 0.4.17", "once_cell", - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", "wasm-bindgen-shared", @@ -12844,7 +12852,7 @@ version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", "wasm-bindgen-backend", @@ -13039,7 +13047,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" dependencies = [ "log 0.4.17", - "socket2", + "socket2 0.4.7", "thiserror", "tokio", "webrtc-util", @@ -13289,6 +13297,15 @@ dependencies = [ "windows-targets 0.48.0", ] +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-targets" version = "0.42.1" @@ -13319,6 +13336,22 @@ dependencies = [ "windows_x86_64_msvc 0.48.0", ] +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.1" @@ -13331,6 +13364,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + [[package]] name = "windows_aarch64_msvc" version = "0.34.0" @@ -13349,6 +13388,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + [[package]] name = "windows_i686_gnu" version = "0.34.0" @@ -13367,6 +13412,18 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + [[package]] name = "windows_i686_msvc" version = "0.34.0" @@ -13385,6 +13442,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + [[package]] name = "windows_x86_64_gnu" version = "0.34.0" @@ -13403,6 +13466,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.1" @@ -13415,6 +13484,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + [[package]] name = "windows_x86_64_msvc" version = "0.34.0" @@ -13433,6 +13508,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + [[package]] name = "winreg" version = "0.10.1" @@ -13575,7 +13656,7 @@ version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44bf07cb3e50ea2003396695d58bf46bc9887a1f362260446fad6bc4e79bd36c" dependencies = [ - "proc-macro2 1.0.59", + "proc-macro2 1.0.86", "quote 1.0.28", "syn 1.0.107", "synstructure", diff --git a/Cargo.toml b/Cargo.toml index ca5941a55c..590245b009 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -524,7 +524,7 @@ thiserror = "1.0" timeout-join-handler = { path = "commons/timeout-join-handler" } tiny-keccak = { version = "2", features = ["keccak"] } tiny_http = "0.8.2" -tokio = { version = "^1", features = ["full"] } +tokio = { version = "^1.39", features = ["full"] } tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking"] } toml = "0.5.9" trace-time = "0.1"