diff --git a/Cargo.lock b/Cargo.lock index 340e2884..c4ed5dfc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,21 +94,46 @@ version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3b51c409a2b30e48826a593d56a26a43f37bf3df682821e55cd108e24de9ce7" dependencies = [ - "amq-protocol-tcp", - "amq-protocol-types", - "amq-protocol-uri", + "amq-protocol-tcp 6.1.0", + "amq-protocol-types 6.1.0", + "amq-protocol-uri 6.1.0", "cookie-factory", "nom 7.1.0", ] +[[package]] +name = "amq-protocol" +version = "7.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acc7cad07d1b4533fcb46f0819a6126fa201fd0385469aba75e405424f3fe009" +dependencies = [ + "amq-protocol-tcp 7.0.1", + "amq-protocol-types 7.0.1", + "amq-protocol-uri 7.0.1", + "cookie-factory", + "nom 7.1.0", + "serde", +] + [[package]] name = "amq-protocol-tcp" version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9797cd3a8f1491e4828818341aea5e1378029ec89dc2422cd85d62715f913080" dependencies = [ - "amq-protocol-uri", - "tcp-stream", + "amq-protocol-uri 6.1.0", + "tcp-stream 0.20.9", + "tracing", +] + +[[package]] +name = "amq-protocol-tcp" +version = "7.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d8b20aba8c35a0b885e1e978eff456ced925730a4e012e63e4ff89a1deb602b" +dependencies = [ + "amq-protocol-uri 7.0.1", + "tcp-stream 0.24.2", "tracing", ] @@ -124,6 +149,18 @@ dependencies = [ "serde_json", ] +[[package]] +name = "amq-protocol-types" +version = "7.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e245e0e9083b6a6db5f8c10013074cb382266eb9e2a37204d19c651b8d3b8114" +dependencies = [ + "cookie-factory", + "nom 7.1.0", + "serde", + "serde_json", +] + [[package]] name = "amq-protocol-uri" version = "6.1.0" @@ -134,6 +171,17 @@ dependencies = [ "url 2.2.2", ] +[[package]] +name = "amq-protocol-uri" +version = "7.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56987108bf48d2eb500cae8896cd9291564eedd8744776ecc5c3338a8b2ca5f8" +dependencies = [ + "amq-protocol-types 7.0.1", + "percent-encoding 2.1.0", + "url 2.2.2", +] + [[package]] name = "ansi_term" version = "0.12.1" @@ -240,13 +288,13 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-amqp" -version = "1.2.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5374e878d2cc33f231c40219990a9940381a31e21bb96fa5c5fe25ece60b6e" +checksum = "76b72619387b4fcb681e8861a0316b027248684929b9d0623969cda2955cce04" dependencies = [ + "async-executor-trait", "async-lapin", - "async-std", - "lapin", + "lapin 2.1.1", ] [[package]] @@ -284,6 +332,17 @@ dependencies = [ "slab", ] +[[package]] +name = "async-executor-trait" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a5fa99a01e077f2a30248b27bf7ffe42ef56a9430876233ded05365f43cc789" +dependencies = [ + "async-std", + "async-trait", + "executor-trait", +] + [[package]] name = "async-fs" version = "1.5.0" @@ -311,6 +370,17 @@ dependencies = [ "once_cell", ] +[[package]] +name = "async-global-executor-trait" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33dd14c5a15affd2abcff50d84efd4009ada28a860f01c14f9d654f3e81b3f75" +dependencies = [ + "async-global-executor", + "async-trait", + "executor-trait", +] + [[package]] name = "async-io" version = "1.6.0" @@ -332,13 +402,12 @@ dependencies = [ [[package]] name = "async-lapin" -version = "1.2.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bef3111e70cb8ed40a2250252cfa96d64b880fbb58b0f67a049b6945503f8d6" +checksum = "2ca8e64dba31ded904fc0af19541a7047b44c82b02b3b2177e08b0dc6fa63cec" dependencies = [ - "async-io", - "lapin", - "parking_lot", + "async-reactor-trait", + "lapin 2.1.1", ] [[package]] @@ -387,6 +456,18 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "async-reactor-trait" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a6012d170ad00de56c9ee354aef2e358359deb1ec504254e0e5a3774771de0e" +dependencies = [ + "async-io", + "async-trait", + "futures-core", + "reactor-trait", +] + [[package]] name = "async-rustls" version = "0.2.0" @@ -394,8 +475,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c86f33abd5a4f3e2d6d9251a9e0c6a7e52eb1113caf893dae8429bf4a53f378" dependencies = [ "futures-lite", - "rustls", - "webpki", + "rustls 0.19.1", + "webpki 0.21.4", ] [[package]] @@ -542,9 +623,9 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" @@ -601,7 +682,7 @@ dependencies = [ "futures 0.3.19", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sc-chain-spec", "sc-client-api", "sc-keystore", @@ -635,7 +716,7 @@ dependencies = [ "jsonrpc-pubsub", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sc-rpc", "sc-utils", "serde", @@ -828,6 +909,16 @@ dependencies = [ "generic-array 0.14.5", ] +[[package]] +name = "block-modes" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cb03d1bed155d89dce0f845b7899b18a9a163e148fd004e1c28421a783e2d8e" +dependencies = [ + "block-padding 0.2.1", + "cipher", +] + [[package]] name = "block-padding" version = "0.1.5" @@ -1459,7 +1550,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8" dependencies = [ - "sct", + "sct 0.6.1", ] [[package]] @@ -1578,6 +1669,17 @@ dependencies = [ "syn", ] +[[package]] +name = "des" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac41dd49fb554432020d52c875fc290e110113f864c6b1b525cd62c7e7747a5d" +dependencies = [ + "byteorder", + "cipher", + "opaque-debug 0.3.0", +] + [[package]] name = "desub" version = "0.1.0" @@ -1687,6 +1789,7 @@ dependencies = [ "block-buffer 0.10.0", "crypto-common", "generic-array 0.14.5", + "subtle", ] [[package]] @@ -1970,6 +2073,15 @@ version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77f3309417938f28bf8228fcff79a4a37103981e3e186d2ccd19c74b38f4eb71" +[[package]] +name = "executor-trait" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a1052dd43212a7777ec6a69b117da52f5e52f07aec47d00c1a2b33b85d06b08" +dependencies = [ + "async-trait", +] + [[package]] name = "exit-future" version = "0.2.0" @@ -2041,7 +2153,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "scale-info", ] @@ -2409,7 +2521,7 @@ checksum = "62007592ac46aa7c2b6416f7deb9a8a8f63a01e0f1d6e1787d5630170db2b63e" dependencies = [ "futures-core", "lock_api", - "parking_lot", + "parking_lot 0.11.2", ] [[package]] @@ -2451,8 +2563,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b" dependencies = [ "futures-io", - "rustls", - "webpki", + "rustls 0.19.1", + "webpki 0.21.4", ] [[package]] @@ -2728,6 +2840,15 @@ dependencies = [ "digest 0.9.0", ] +[[package]] +name = "hmac" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddca131f3e7f2ce2df364b57949a9d47915cfbd35e46cfee355ccebbf794d6a2" +dependencies = [ + "digest 0.10.1", +] + [[package]] name = "hmac-drbg" version = "0.3.0" @@ -2833,11 +2954,11 @@ dependencies = [ "futures-util", "hyper", "log", - "rustls", - "rustls-native-certs", + "rustls 0.19.1", + "rustls-native-certs 0.5.0", "tokio", "tokio-rustls", - "webpki", + "webpki 0.21.4", ] [[package]] @@ -3159,7 +3280,7 @@ dependencies = [ "jsonrpc-server-utils", "log", "net2", - "parking_lot", + "parking_lot 0.11.2", "unicase", ] @@ -3174,7 +3295,7 @@ dependencies = [ "jsonrpc-server-utils", "log", "parity-tokio-ipc", - "parking_lot", + "parking_lot 0.11.2", "tower-service", ] @@ -3188,7 +3309,7 @@ dependencies = [ "jsonrpc-core", "lazy_static", "log", - "parking_lot", + "parking_lot 0.11.2", "rand 0.7.3", "serde", ] @@ -3222,7 +3343,7 @@ dependencies = [ "jsonrpc-server-utils", "log", "parity-ws", - "parking_lot", + "parking_lot 0.11.2", "slab", ] @@ -3364,7 +3485,7 @@ checksum = "c3b6b85fc643f5acd0bffb2cc8a6d150209379267af0d41db72170021841f9f5" dependencies = [ "kvdb", "parity-util-mem", - "parking_lot", + "parking_lot 0.11.2", ] [[package]] @@ -3379,7 +3500,7 @@ dependencies = [ "num_cpus", "owning_ref", "parity-util-mem", - "parking_lot", + "parking_lot 0.11.2", "regex", "rocksdb", "smallvec", @@ -3391,17 +3512,39 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef0a8c145a248b1536cfa06890d480cda7982add59f77973ac7b03db47f349b5" dependencies = [ - "amq-protocol", + "amq-protocol 6.1.0", "async-task", "crossbeam-channel", "futures-core", "log", "mio 0.7.14", - "parking_lot", - "pinky-swear", + "parking_lot 0.11.2", + "pinky-swear 4.4.0", "serde", ] +[[package]] +name = "lapin" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd03ea5831b44775e296239a64851e2fd14a80a363d202ba147009ffc994ff0f" +dependencies = [ + "amq-protocol 7.0.1", + "async-global-executor-trait", + "async-reactor-trait", + "async-trait", + "executor-trait", + "flume", + "futures-core", + "futures-io", + "parking_lot 0.12.0", + "pinky-swear 6.1.0", + "reactor-trait", + "serde", + "tracing", + "waker-fn", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -3481,7 +3624,7 @@ dependencies = [ "libp2p-websocket", "libp2p-yamux", "multiaddr", - "parking_lot", + "parking_lot 0.11.2", "pin-project 1.0.10", "smallvec", "wasm-timer", @@ -3506,7 +3649,7 @@ dependencies = [ "multiaddr", "multihash 0.14.0", "multistream-select", - "parking_lot", + "parking_lot 0.11.2", "pin-project 1.0.10", "prost", "prost-build", @@ -3680,7 +3823,7 @@ dependencies = [ "libp2p-core", "log", "nohash-hasher", - "parking_lot", + "parking_lot 0.11.2", "rand 0.7.3", "smallvec", "unsigned-varint 0.7.1", @@ -3913,7 +4056,7 @@ checksum = "4e7362abb8867d7187e7e93df17f460d554c997fc5c8ac57dc1259057f6889af" dependencies = [ "futures 0.3.19", "libp2p-core", - "parking_lot", + "parking_lot 0.11.2", "thiserror", "yamux", ] @@ -4022,10 +4165,11 @@ checksum = "a261afc61b7a5e323933b402ca6a1765183687c614789b1e4db7762ed4230bca" [[package]] name = "lock_api" -version = "0.4.5" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109" +checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53" dependencies = [ + "autocfg", "scopeguard", ] @@ -4811,6 +4955,22 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "p12" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9965d24eda71ca3ee86a9f438e14c57f0ca4c4d7cc6d7aea10a57bec48955219" +dependencies = [ + "block-modes", + "des", + "getrandom 0.2.4", + "hmac 0.12.0", + "lazy_static", + "rc2", + "sha1", + "yasna", +] + [[package]] name = "pallet-aura" version = "4.0.0-dev" @@ -5575,7 +5735,7 @@ dependencies = [ "log", "lz4", "memmap2 0.2.3", - "parking_lot", + "parking_lot 0.11.2", "rand 0.8.4", "snap", ] @@ -5638,7 +5798,7 @@ dependencies = [ "impl-trait-for-tuples", "lru 0.6.6", "parity-util-mem-derive", - "parking_lot", + "parking_lot 0.11.2", "primitive-types", "smallvec", "winapi 0.3.9", @@ -5702,7 +5862,17 @@ checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" dependencies = [ "instant", "lock_api", - "parking_lot_core", + "parking_lot_core 0.8.5", +] + +[[package]] +name = "parking_lot" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" +dependencies = [ + "lock_api", + "parking_lot_core 0.9.3", ] [[package]] @@ -5719,6 +5889,19 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "parking_lot_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "redox_syscall", + "smallvec", + "windows-sys", +] + [[package]] name = "paste" version = "1.0.6" @@ -5900,7 +6083,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bf8cda6f8e1500338634e4e3ce90ac59eb7929a1e088b6946c742be1cc44dc1" dependencies = [ "doc-comment", - "parking_lot", + "parking_lot 0.11.2", + "tracing", +] + +[[package]] +name = "pinky-swear" +version = "6.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d894b67aa7a4bf295db5e85349078c604edaa6fa5c8721e8eca3c7729a27f2ac" +dependencies = [ + "doc-comment", + "flume", + "parking_lot 0.12.0", "tracing", ] @@ -6125,7 +6320,7 @@ dependencies = [ "async-trait", "futures 0.3.19", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -6411,7 +6606,7 @@ dependencies = [ "log", "mick-jaeger", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "polkadot-node-primitives", "polkadot-primitives", "sc-network", @@ -6544,7 +6739,7 @@ dependencies = [ "futures-timer", "lru 0.7.2", "parity-util-mem", - "parking_lot", + "parking_lot 0.11.2", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -7122,7 +7317,7 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot", + "parking_lot 0.11.2", "thiserror", ] @@ -7352,6 +7547,27 @@ dependencies = [ "num_cpus", ] +[[package]] +name = "rc2" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48f197c283075d1345c20d5ad172526a7837882cdc998b1fcd2b2f3cfff1cb94" +dependencies = [ + "cipher", + "opaque-debug 0.3.0", +] + +[[package]] +name = "reactor-trait" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "438a4293e4d097556730f4711998189416232f009c137389e0f961d2bc0ddc58" +dependencies = [ + "async-trait", + "futures-core", + "futures-io", +] + [[package]] name = "redox_syscall" version = "0.2.10" @@ -7591,8 +7807,32 @@ dependencies = [ "base64", "log", "ring", - "sct", - "webpki", + "sct 0.6.1", + "webpki 0.21.4", +] + +[[package]] +name = "rustls" +version = "0.20.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fbfeb8d0ddb84706bc597a5574ab8912817c52a397f819e5b614e2265206921" +dependencies = [ + "log", + "ring", + "sct 0.7.0", + "webpki 0.22.0", +] + +[[package]] +name = "rustls-connector" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c6a18f8d10f71bce9bca6eaeb80429460e652f3bcf0381f0c5f8954abf7b3b8" +dependencies = [ + "log", + "rustls 0.20.4", + "rustls-native-certs 0.6.2", + "webpki 0.22.0", ] [[package]] @@ -7602,11 +7842,41 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" dependencies = [ "openssl-probe", - "rustls", + "rustls 0.19.1", "schannel", "security-framework", ] +[[package]] +name = "rustls-native-certs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50" +dependencies = [ + "openssl-probe", + "rustls-pemfile 1.0.0", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eebeaeb360c87bfb72e84abdb3447159c0eaececf1bef2aecd65a8be949d1c9" +dependencies = [ + "base64", +] + +[[package]] +name = "rustls-pemfile" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7522c9de787ff061458fe9a829dc790a3f5b22dc571694fc5883f448b94d9a9" +dependencies = [ + "base64", +] + [[package]] name = "rustversion" version = "1.0.6" @@ -7642,7 +7912,7 @@ dependencies = [ "futures 0.3.19", "inventory", "itoa 0.4.8", - "lapin", + "lapin 1.9.0", "log", "num_cpus", "pretty_env_logger", @@ -7844,7 +8114,7 @@ dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -7875,7 +8145,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sc-client-api", "sc-state-db", "sp-arithmetic", @@ -7897,7 +8167,7 @@ dependencies = [ "futures-timer", "libp2p", "log", - "parking_lot", + "parking_lot 0.11.2", "sc-client-api", "sc-utils", "serde", @@ -7926,7 +8196,7 @@ dependencies = [ "num-rational 0.2.4", "num-traits", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "rand 0.7.3", "retain_mut", "sc-client-api", @@ -8037,7 +8307,7 @@ dependencies = [ "log", "lru 0.6.6", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", @@ -8121,7 +8391,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "rand 0.8.4", "sc-block-builder", "sc-chain-spec", @@ -8194,7 +8464,7 @@ dependencies = [ "async-trait", "derive_more", "hex", - "parking_lot", + "parking_lot 0.11.2", "serde_json", "sp-application-crypto", "sp-core", @@ -8226,7 +8496,7 @@ dependencies = [ "log", "lru 0.7.2", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "pin-project 1.0.10", "prost", "prost-build", @@ -8283,7 +8553,7 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "rand 0.7.3", "sc-client-api", "sc-network", @@ -8329,7 +8599,7 @@ dependencies = [ "jsonrpc-pubsub", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -8361,7 +8631,7 @@ dependencies = [ "jsonrpc-pubsub", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sc-chain-spec", "sc-transaction-pool-api", "serde", @@ -8407,7 +8677,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.11.2", "pin-project 1.0.10", "rand 0.7.3", "sc-block-builder", @@ -8464,7 +8734,7 @@ dependencies = [ "parity-scale-codec", "parity-util-mem", "parity-util-mem-derive", - "parking_lot", + "parking_lot 0.11.2", "sc-client-api", "sp-core", ] @@ -8500,7 +8770,7 @@ dependencies = [ "futures 0.3.19", "libp2p", "log", - "parking_lot", + "parking_lot 0.11.2", "pin-project 1.0.10", "rand 0.7.3", "serde", @@ -8521,7 +8791,7 @@ dependencies = [ "libc", "log", "once_cell", - "parking_lot", + "parking_lot 0.11.2", "regex", "rustc-hash", "sc-client-api", @@ -8562,7 +8832,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.11.2", "retain_mut", "sc-client-api", "sc-transaction-pool-api", @@ -8600,7 +8870,7 @@ dependencies = [ "futures 0.3.19", "futures-timer", "lazy_static", - "parking_lot", + "parking_lot 0.11.2", "prometheus", ] @@ -8680,6 +8950,16 @@ dependencies = [ "untrusted", ] +[[package]] +name = "sct" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "secrecy" version = "0.8.0" @@ -8820,6 +9100,17 @@ dependencies = [ "opaque-debug 0.3.0", ] +[[package]] +name = "sha1" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04cc229fb94bcb689ffc39bd4ded842f6ff76885efede7c6d1ffb62582878bea" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures 0.2.1", + "digest 0.10.1", +] + [[package]] name = "sha2" version = "0.8.2" @@ -9147,7 +9438,7 @@ dependencies = [ "log", "lru 0.7.2", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sp-api", "sp-consensus", "sp-database", @@ -9263,7 +9554,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.11.2", "primitive-types", "rand 0.7.3", "regex", @@ -9318,7 +9609,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#28819000207c9bcdf37e31d7d167cd1d420faa7e" dependencies = [ "kvdb", - "parking_lot", + "parking_lot 0.11.2", ] [[package]] @@ -9384,7 +9675,7 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "sp-core", "sp-externalities", "sp-keystore", @@ -9419,7 +9710,7 @@ dependencies = [ "futures 0.3.19", "merlin", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "schnorrkel", "serde", "sp-core", @@ -9584,7 +9875,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "rand 0.7.3", "smallvec", "sp-core", @@ -9824,10 +10115,10 @@ dependencies = [ "md-5", "memchr", "once_cell", - "parking_lot", + "parking_lot 0.11.2", "percent-encoding 2.1.0", "rand 0.8.4", - "rustls", + "rustls 0.19.1", "serde", "serde_json", "sha-1 0.9.8", @@ -9838,7 +10129,7 @@ dependencies = [ "stringprep", "thiserror", "url 2.2.2", - "webpki", + "webpki 0.21.4", "webpki-roots", "whoami", ] @@ -9909,7 +10200,7 @@ checksum = "11b73400442027c4adedda20a9f9b7945234a5bd8d5f7e86da22bd5d0622369c" dependencies = [ "cfg_aliases", "libc", - "parking_lot", + "parking_lot 0.11.2", "static_init_macro", ] @@ -10053,7 +10344,7 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot", + "parking_lot 0.11.2", "polkadot-service", "pretty_env_logger", "sa-work-queue", @@ -10097,7 +10388,7 @@ dependencies = [ "num_cpus", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.11.2", "sc-client-api", "sc-executor", "sc-service", @@ -10234,6 +10525,18 @@ dependencies = [ "pem", ] +[[package]] +name = "tcp-stream" +version = "0.24.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "217df9edde249fda847e1cc8a447d84c90f0942a3cff38303bc40057d488be03" +dependencies = [ + "cfg-if 1.0.0", + "p12", + "rustls-connector", + "rustls-pemfile 0.2.1", +] + [[package]] name = "tempfile" version = "3.3.0" @@ -10266,7 +10569,7 @@ dependencies = [ "async-std", "csv", "hex", - "lapin", + "lapin 1.9.0", "once_cell", "sqlx", "test-wasm", @@ -10426,9 +10729,9 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" dependencies = [ - "rustls", + "rustls 0.19.1", "tokio", - "webpki", + "webpki 0.21.4", ] [[package]] @@ -10544,7 +10847,7 @@ dependencies = [ "chrono", "lazy_static", "matchers", - "parking_lot", + "parking_lot 0.11.2", "regex", "serde", "serde_json", @@ -10615,7 +10918,7 @@ dependencies = [ "lazy_static", "log", "lru-cache", - "parking_lot", + "parking_lot 0.11.2", "resolv-conf", "smallvec", "thiserror", @@ -10953,7 +11256,7 @@ checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ "futures 0.3.19", "js-sys", - "parking_lot", + "parking_lot 0.11.2", "pin-utils", "wasm-bindgen", "wasm-bindgen-futures", @@ -11163,13 +11466,23 @@ dependencies = [ "untrusted", ] +[[package]] +name = "webpki" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "webpki-roots" version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940" dependencies = [ - "webpki", + "webpki 0.21.4", ] [[package]] @@ -11352,6 +11665,49 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows-sys" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" +dependencies = [ + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" + +[[package]] +name = "windows_i686_gnu" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" + +[[package]] +name = "windows_i686_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" + [[package]] name = "winreg" version = "0.6.2" @@ -11482,11 +11838,17 @@ dependencies = [ "futures 0.3.19", "log", "nohash-hasher", - "parking_lot", + "parking_lot 0.11.2", "rand 0.8.4", "static_assertions", ] +[[package]] +name = "yasna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346d34a236c9d3e5f3b9b74563f238f955bbd05fa0b8b4efa53c130c43982f4c" + [[package]] name = "zeroize" version = "1.5.0" diff --git a/test-common/Cargo.toml b/test-common/Cargo.toml index 07a556c0..38838017 100644 --- a/test-common/Cargo.toml +++ b/test-common/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1" once_cell = "1.8" sqlx = { version = "0.5", default-features = false, features = ["postgres", "macros", "runtime-async-std-rustls", "migrate", "json", "offline", "chrono" ] } lapin = "1.9" -async-amqp = "1" +async-amqp = "2" async-std = "1.9" diff --git a/work-queue/sa-work-queue/Cargo.toml b/work-queue/sa-work-queue/Cargo.toml index fffeb215..30fd03ec 100644 --- a/work-queue/sa-work-queue/Cargo.toml +++ b/work-queue/sa-work-queue/Cargo.toml @@ -9,7 +9,7 @@ rust-version = "1.56.1" [dependencies] log = "0.4" lapin = "1.9" -async-amqp = "1" +async-amqp = "2" sa_work_queue_proc_macro = { path = "../sa_work_queue_proc_macro" } threadpool = "1" async-std = "1.9"