From 28e38899d43c53e95d840ba9a0243b53e4b24b94 Mon Sep 17 00:00:00 2001 From: quake Date: Thu, 11 Jan 2024 08:26:11 +0900 Subject: [PATCH] chore: upgrade ckb crates to 0.113 --- Cargo.lock | 1416 +++++++++++++------------------------- Cargo.toml | 43 +- src/tests/utils/chain.rs | 3 +- 3 files changed, 494 insertions(+), 968 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 70fa0d5..1d9efbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -24,15 +24,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ "crypto-common", - "generic-array 0.14.7", + "generic-array", ] -[[package]] -name = "ahash" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217" - [[package]] name = "ahash" version = "0.7.7" @@ -44,20 +38,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "ahash" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" -dependencies = [ - "cfg-if 1.0.0", - "const-random", - "getrandom 0.2.10", - "once_cell", - "version_check", - "zerocopy", -] - [[package]] name = "aho-corasick" version = "1.1.2" @@ -73,7 +53,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -144,7 +124,7 @@ checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -167,7 +147,7 @@ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ "hermit-abi 0.1.19", "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -200,25 +180,32 @@ dependencies = [ "rustc-demangle", ] +[[package]] +name = "base64" +version = "0.21.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c79fed4cdb43e993fcdadc7e58a09fd0e3e649c4436fa11da71c9f1f3ee7feb9" + [[package]] name = "bindgen" -version = "0.63.0" +version = "0.68.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36d860121800b2a9a94f9b5604b332d5cffb234ce17609ea479d723dbc9d3885" +checksum = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "cexpr", "clang-sys", "lazy_static", "lazycell", "log", "peeking_take_while", + "prettyplease", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 1.0.109", + "syn 2.0.48", "which", ] @@ -256,34 +243,13 @@ dependencies = [ "cty", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array 0.14.7", -] - -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", + "generic-array", ] [[package]] @@ -317,12 +283,6 @@ version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" - [[package]] name = "byteorder" version = "1.5.0" @@ -331,21 +291,38 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "0.4.12" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" dependencies = [ - "byteorder", - "iovec", + "serde", ] [[package]] -name = "bytes" -version = "1.5.0" +name = "cacache" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "142316461ed3a3dfcba10417317472da5bfd0461e4d276bf7c07b330766d9490" dependencies = [ + "digest 0.10.7", + "either", + "futures", + "hex", + "libc", + "memmap2", + "miette", + "reflink-copy", "serde", + "serde_derive", + "serde_json", + "sha1", + "sha2", + "ssri", + "tempfile", + "thiserror", + "tokio", + "tokio-stream", + "walkdir", ] [[package]] @@ -416,8 +393,9 @@ dependencies = [ [[package]] name = "ckb-app-config" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ac600d1535028bf3e08199740d71977d534c2cb591a95b4ca9ad57a4b33121c" dependencies = [ "ckb-build-info", "ckb-chain-spec", @@ -444,36 +422,26 @@ dependencies = [ [[package]] name = "ckb-async-runtime" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d542ce01edbb22af56a19e955a2e8c4738be33a0496f8bf80772f9aaa01113dc" dependencies = [ "ckb-logger", "ckb-spawn", "tokio", ] -[[package]] -name = "ckb-block-filter" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "ckb-async-runtime", - "ckb-logger", - "ckb-shared", - "ckb-stop-handler", - "ckb-store", - "ckb-types", -] - [[package]] name = "ckb-build-info" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ab8cacb522a33a05949f54ff337711e4b6aedd491d0d41c9c0a92acb7f9ae19" [[package]] name = "ckb-chain" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80e394a4f6a6a30a43538411084ca6119e2f706c871c0d983b95c9a2dac46c65" dependencies = [ "ckb-app-config", "ckb-chain-spec", @@ -497,42 +465,47 @@ dependencies = [ [[package]] name = "ckb-chain-spec" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "210df338c83691c2173136656c411c3fe09578a66377a05014956419bede76cf" dependencies = [ + "cacache", "ckb-constant", "ckb-crypto", "ckb-dao-utils", "ckb-error", "ckb-hash", "ckb-jsonrpc-types", + "ckb-logger", "ckb-pow", "ckb-rational", "ckb-resource", "ckb-traits", "ckb-types", - "ckb-util", "serde", "toml", ] [[package]] name = "ckb-channel" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50d21e6d4ad47858609ced9d887e63e821ba6770f28e7be58e8d56213a0d0924" dependencies = [ "crossbeam-channel", ] [[package]] name = "ckb-constant" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42093e370876b71569292fc0aa9ae1078114ee678c4e4b4ae77a81b590fdba7" [[package]] name = "ckb-crypto" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35ed640e73c39b5e0fc8a39c6d013733761023424e2bc70dafd74d92ce6c36cb" dependencies = [ "ckb-fixed-hash", "faster-hex", @@ -544,8 +517,9 @@ dependencies = [ [[package]] name = "ckb-dao" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10e8826ee4b38770649b0edeb96fa62b407f8c6bc68fe2134a17d160414be818" dependencies = [ "byteorder", "ckb-chain-spec", @@ -556,8 +530,9 @@ dependencies = [ [[package]] name = "ckb-dao-utils" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaf9300f9b1ff36e576ca6ed374ec9704f6da6f61492ea48038ff0b9067c2779" dependencies = [ "byteorder", "ckb-error", @@ -566,8 +541,9 @@ dependencies = [ [[package]] name = "ckb-db" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c72cb6e39b5d6e347305f0ccd2f54f161652142b5e4b07cca6720a24109233ae" dependencies = [ "ckb-app-config", "ckb-db-schema", @@ -579,8 +555,9 @@ dependencies = [ [[package]] name = "ckb-db-migration" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16950d3ce397c95fcc97d8672a1220bc5426ef49445d729429646f856ea06562" dependencies = [ "ckb-db", "ckb-db-schema", @@ -592,13 +569,15 @@ dependencies = [ [[package]] name = "ckb-db-schema" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3098242ceaa66d7a56e595b264c48e39d9f8b53f6b9bf291e0bfa6da96505727" [[package]] name = "ckb-error" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9948a60c3fa47131ec9907cfb64c94e4fd9199ef9329ba0ba4d53b8e03adfbbe" dependencies = [ "anyhow", "ckb-occupied-capacity", @@ -608,8 +587,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0629983e05127c5bbf025cefdac36a91c3a0720acf1b2e2637ff1f0ac673a78c" dependencies = [ "ckb-fixed-hash-core", "ckb-fixed-hash-macros", @@ -617,8 +597,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-core" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c582d7d52e96ce65c2995a7f399c6dc3f314fec64dd15d47ec903896ac24a428" dependencies = [ "faster-hex", "serde", @@ -627,8 +608,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-macros" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bae4184f70cbd2e36839d902f403f06ea6a009df67ac2f7d37942890459618c" dependencies = [ "ckb-fixed-hash-core", "proc-macro2", @@ -638,8 +620,9 @@ dependencies = [ [[package]] name = "ckb-freezer" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8d55f62b6cd472936c9c8669f7b8e278f177b2b60b4847a6a359a6b0b7efda" dependencies = [ "ckb-error", "ckb-logger", @@ -654,8 +637,9 @@ dependencies = [ [[package]] name = "ckb-gen-types" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c709b63557041d03db0bc09b56ddc95de455ea555d537d5599117163f095973c" dependencies = [ "cfg-if 1.0.0", "ckb-error", @@ -668,38 +652,19 @@ dependencies = [ [[package]] name = "ckb-hash" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b78504239eedf043013a4c1d5a3cf38a2917ef37643c3608ff4183aa2888f48f" dependencies = [ "blake2b-ref", "blake2b-rs", ] -[[package]] -name = "ckb-indexer" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "ckb-app-config", - "ckb-async-runtime", - "ckb-db-schema", - "ckb-jsonrpc-types", - "ckb-logger", - "ckb-notify", - "ckb-rocksdb", - "ckb-stop-handler", - "ckb-store", - "ckb-types", - "numext-fixed-uint", - "rhai", - "serde_json", - "thiserror", -] - [[package]] name = "ckb-jsonrpc-types" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97cf7e01a18fb980f3d993fafdf06999379b71ebca098196ed42824bab0b3d9d" dependencies = [ "ckb-types", "faster-hex", @@ -707,52 +672,11 @@ dependencies = [ "serde_json", ] -[[package]] -name = "ckb-launcher" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "ckb-app-config", - "ckb-async-runtime", - "ckb-block-filter", - "ckb-build-info", - "ckb-chain", - "ckb-chain-spec", - "ckb-channel", - "ckb-db", - "ckb-db-migration", - "ckb-db-schema", - "ckb-error", - "ckb-freezer", - "ckb-hash", - "ckb-jsonrpc-types", - "ckb-light-client-protocol-server", - "ckb-logger", - "ckb-migration-template", - "ckb-network", - "ckb-network-alert", - "ckb-notify", - "ckb-proposal-table", - "ckb-resource", - "ckb-rpc", - "ckb-shared", - "ckb-snapshot", - "ckb-store", - "ckb-sync", - "ckb-tx-pool", - "ckb-types", - "ckb-verification", - "ckb-verification-traits", - "num_cpus", - "once_cell", - "tempfile", -] - [[package]] name = "ckb-librocksdb-sys" -version = "8.1.1" +version = "8.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d9bc1ea9ab886ecbf48bc4ade6d383ba56cf3da198b6a51620736daf74b683c" +checksum = "2e68e0993f54ba0d21152419a0668caa92adc928b5a9b01e45871ec055a31ce2" dependencies = [ "bindgen", "cc", @@ -775,7 +699,6 @@ dependencies = [ "ckb-error", "ckb-hash", "ckb-jsonrpc-types", - "ckb-launcher", "ckb-merkle-mountain-range", "ckb-network", "ckb-resource", @@ -791,8 +714,8 @@ dependencies = [ "ckb-verification", "clap 2.34.0", "ctrlc", - "dashmap 5.5.3", - "env_logger 0.9.3", + "dashmap", + "env_logger", "golomb-coded-set", "jsonrpc-core", "jsonrpc-derive", @@ -813,67 +736,24 @@ dependencies = [ "toml", ] -[[package]] -name = "ckb-light-client-protocol-server" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "ckb-logger", - "ckb-merkle-mountain-range", - "ckb-network", - "ckb-shared", - "ckb-store", - "ckb-systemtime", - "ckb-types", -] - [[package]] name = "ckb-logger" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3f5f89647d0d71aef57cafc580c8ca770b1e7afa85400c29de10c6d6a5d2adc" dependencies = [ "log", ] [[package]] name = "ckb-logger-config" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31443967d4fb5c788469090bd6707fe2d5dca8b4d1973a01870e56a4cafc4e0d" dependencies = [ "serde", ] -[[package]] -name = "ckb-logger-service" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "backtrace", - "ckb-channel", - "ckb-logger-config", - "ckb-util", - "env_logger 0.6.2", - "log", - "once_cell", - "regex", - "time", - "yansi", -] - -[[package]] -name = "ckb-memory-tracker" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "ckb-db", - "ckb-logger", - "ckb-metrics", - "libc", - "once_cell", - "tikv-jemalloc-ctl", - "tikv-jemalloc-sys", -] - [[package]] name = "ckb-merkle-mountain-range" version = "0.5.2" @@ -885,8 +765,9 @@ dependencies = [ [[package]] name = "ckb-metrics" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3aa3ad86899ace1baa04bd4709645222bcff819336e9e83b7391025147b88faa" dependencies = [ "once_cell", "prometheus", @@ -895,35 +776,48 @@ dependencies = [ [[package]] name = "ckb-metrics-config" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dd4ee213b1ca959f5a9b9d798adce8c16b4923a5086368bda9c7a439069ea3" dependencies = [ "serde", ] [[package]] -name = "ckb-migration-template" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +name = "ckb-migrate" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45d26eafe6eb4974a3eeeb588cd96483b1ff8ff6dc461feec2dab1ccaefe89a0" dependencies = [ - "quote", - "syn 1.0.109", + "ckb-app-config", + "ckb-chain-spec", + "ckb-db", + "ckb-db-migration", + "ckb-db-schema", + "ckb-error", + "ckb-hash", + "ckb-migration-template", + "ckb-store", + "ckb-types", + "num_cpus", + "tempfile", ] [[package]] -name = "ckb-multisig" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +name = "ckb-migration-template" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9449773c47905a44d8ee9da7363ccb90154c3ab019f88acf08232374ff4a0504" dependencies = [ - "ckb-crypto", - "ckb-error", - "ckb-logger", + "quote", + "syn 1.0.109", ] [[package]] name = "ckb-network" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1694d4d3b006370cb9ce36f18d16e52ef10d823883082396bd449f05943ad567" dependencies = [ "bitflags 1.3.2", "bloom-filters", @@ -948,29 +842,11 @@ dependencies = [ "tokio-util 0.7.10", ] -[[package]] -name = "ckb-network-alert" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "ckb-app-config", - "ckb-error", - "ckb-jsonrpc-types", - "ckb-logger", - "ckb-multisig", - "ckb-network", - "ckb-notify", - "ckb-systemtime", - "ckb-types", - "ckb-util", - "lru", - "semver", -] - [[package]] name = "ckb-notify" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d97ca87ec9d59d901c91e1a8b87dbad902cb602959b33d8cbcf11d4b76b9785" dependencies = [ "ckb-app-config", "ckb-async-runtime", @@ -982,8 +858,9 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe678c0047869c71ae01369ada83ebb43567504c3c5e338a64dcd679b98ecad" dependencies = [ "ckb-occupied-capacity-core", "ckb-occupied-capacity-macros", @@ -991,16 +868,18 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity-core" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35dba70fddc9eda1906875b4c99b14d64910a429a58972658e8f65930f77f27b" dependencies = [ "serde", ] [[package]] name = "ckb-occupied-capacity-macros" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a37efa3314fc8d1b6ead861743e7012126204449a7c6579f0e571a3456d0d34" dependencies = [ "ckb-occupied-capacity-core", "quote", @@ -1009,8 +888,9 @@ dependencies = [ [[package]] name = "ckb-pow" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28156a3ea6941bad362f0de75a2358bc759f52d505b4cfae0db223e25646fdd" dependencies = [ "byteorder", "ckb-hash", @@ -1022,8 +902,9 @@ dependencies = [ [[package]] name = "ckb-proposal-table" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b9298f31a896660abec26e945a61da7ecaa955ec876b46bf6f7cc43bad6ca23" dependencies = [ "ckb-chain-spec", "ckb-logger", @@ -1032,8 +913,9 @@ dependencies = [ [[package]] name = "ckb-rational" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d64ef7e9b0785e1b2acdc1a96072bbdefa6ac72bca36de91d9d9e65cd39bbd" dependencies = [ "numext-fixed-uint", "serde", @@ -1041,8 +923,9 @@ dependencies = [ [[package]] name = "ckb-resource" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea0c9ca6ccc86e4ed3f49c3dc05b1bd58f27205cb9ded891b86995a9edd06974" dependencies = [ "ckb-system-scripts", "ckb-types", @@ -1055,8 +938,9 @@ dependencies = [ [[package]] name = "ckb-reward-calculator" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06c1fb6c093f2a948e576281ca2863568f2997fdbd3310bd02ff55ab6fe14738" dependencies = [ "ckb-chain-spec", "ckb-dao", @@ -1068,70 +952,29 @@ dependencies = [ [[package]] name = "ckb-rocksdb" -version = "0.20.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2331a8580072e2991e77277d2c3e999c8df0d00b16188a77e561e45a4597769" +checksum = "050f7c70a451b9606a5d4e1cf696fec2517e65c3bfcbefadb6b114cc0fa7673b" dependencies = [ "ckb-librocksdb-sys", "libc", "tempfile", ] -[[package]] -name = "ckb-rpc" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "ckb-app-config", - "ckb-chain", - "ckb-chain-spec", - "ckb-constant", - "ckb-dao", - "ckb-error", - "ckb-indexer", - "ckb-jsonrpc-types", - "ckb-logger", - "ckb-logger-service", - "ckb-memory-tracker", - "ckb-network", - "ckb-network-alert", - "ckb-notify", - "ckb-pow", - "ckb-reward-calculator", - "ckb-shared", - "ckb-store", - "ckb-sync", - "ckb-systemtime", - "ckb-traits", - "ckb-tx-pool", - "ckb-types", - "ckb-util", - "ckb-verification", - "ckb-verification-traits", - "itertools", - "jsonrpc-core", - "jsonrpc-derive", - "jsonrpc-http-server", - "jsonrpc-pubsub", - "jsonrpc-server-utils", - "jsonrpc-tcp-server", - "jsonrpc-ws-server", - "serde_json", - "tokio", -] - [[package]] name = "ckb-rust-unstable-port" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "379d13b61246c1d65549f24bdbafd7053020a27ed4427416d5228053a98f7c7a" dependencies = [ "is_sorted", ] [[package]] name = "ckb-script" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec56fceeff7d1fb5229bf03af876360dabf7f9da7eab67a3ce5164c09b4a90d4" dependencies = [ "byteorder", "ckb-chain-spec", @@ -1147,17 +990,21 @@ dependencies = [ [[package]] name = "ckb-shared" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46e8ea962fe3e301b83dcbf2c97fd7e86fe888532e2a9bc6d30933b15fe3db67" dependencies = [ "arc-swap", + "ckb-app-config", "ckb-async-runtime", "ckb-chain-spec", + "ckb-channel", "ckb-constant", "ckb-db", "ckb-db-schema", "ckb-error", "ckb-logger", + "ckb-migrate", "ckb-notify", "ckb-proposal-table", "ckb-snapshot", @@ -1167,12 +1014,15 @@ dependencies = [ "ckb-tx-pool", "ckb-types", "ckb-verification", + "once_cell", + "tempfile", ] [[package]] name = "ckb-snapshot" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f55b067bd0ce8e247d289e55932d797409343c568035b87095f9fac7b486d164" dependencies = [ "arc-swap", "ckb-chain-spec", @@ -1188,13 +1038,15 @@ dependencies = [ [[package]] name = "ckb-spawn" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48f527675b36a44964fdc2d103904a1b346f1a8bce6f694d6928d939a158585a" [[package]] name = "ckb-stop-handler" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55ee26f52dbd1e2ec26481b752956ded1945802193c3d236c4073311c7473b72" dependencies = [ "ckb-async-runtime", "ckb-channel", @@ -1207,8 +1059,9 @@ dependencies = [ [[package]] name = "ckb-store" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7c6fefb3d1f4fd780603dc17f39a8fc026585e3579fa5974db83b4819761a07" dependencies = [ "ckb-app-config", "ckb-chain-spec", @@ -1223,43 +1076,6 @@ dependencies = [ "lru", ] -[[package]] -name = "ckb-sync" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" -dependencies = [ - "bitflags 1.3.2", - "ckb-app-config", - "ckb-async-runtime", - "ckb-chain", - "ckb-chain-spec", - "ckb-channel", - "ckb-constant", - "ckb-error", - "ckb-logger", - "ckb-metrics", - "ckb-network", - "ckb-shared", - "ckb-stop-handler", - "ckb-store", - "ckb-systemtime", - "ckb-traits", - "ckb-tx-pool", - "ckb-types", - "ckb-util", - "ckb-verification", - "ckb-verification-traits", - "dashmap 4.0.2", - "futures", - "governor", - "itertools", - "keyed_priority_queue", - "lru", - "sled", - "tempfile", - "tokio", -] - [[package]] name = "ckb-system-scripts" version = "0.5.4" @@ -1275,21 +1091,24 @@ dependencies = [ [[package]] name = "ckb-systemtime" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4d15c7ffa5f310783c08818df2f6d6c9b4b28a63629c589ed4bbdcf241bc8d4" [[package]] name = "ckb-traits" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4fe215ac785af5f9011aeae14f6f1b05d8cad7ca76a98fe97bf374650e07ccc" dependencies = [ "ckb-types", ] [[package]] name = "ckb-tx-pool" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33a5c2d8116bd4820f5bdca55d5467026ad3182f6411a76b1024a573c2ab3535" dependencies = [ "ckb-app-config", "ckb-async-runtime", @@ -1300,6 +1119,7 @@ dependencies = [ "ckb-error", "ckb-jsonrpc-types", "ckb-logger", + "ckb-metrics", "ckb-network", "ckb-reward-calculator", "ckb-snapshot", @@ -1323,11 +1143,12 @@ dependencies = [ [[package]] name = "ckb-types" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb8a1e28eeb4bc18dfc0e97306147d1c9399ffab6292185346a2af2983ed80f3" dependencies = [ "bit-vec", - "bytes 1.5.0", + "bytes", "ckb-channel", "ckb-constant", "ckb-error", @@ -1348,8 +1169,9 @@ dependencies = [ [[package]] name = "ckb-util" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "189e48a7a52ca9f0e117984500f321402127441485eb55541654b2bece76dcc7" dependencies = [ "linked-hash-map", "once_cell", @@ -1359,8 +1181,9 @@ dependencies = [ [[package]] name = "ckb-verification" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d90cfe8fd8f33e71c0b39f10b8a2d034b87cc12cd434283e8d11c64610b36531" dependencies = [ "ckb-chain-spec", "ckb-dao", @@ -1378,8 +1201,9 @@ dependencies = [ [[package]] name = "ckb-verification-contextual" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5602f448b189f0547eba30e86e397bff4848422638c52a0ba681515c73d4157a" dependencies = [ "ckb-async-runtime", "ckb-chain-spec", @@ -1401,8 +1225,9 @@ dependencies = [ [[package]] name = "ckb-verification-traits" -version = "0.112.0-pre" -source = "git+https://github.com/quake/ckb?branch=quake/light-client-extension#c42e6ea1dae4a8930638c0d3594c57f3194a3e6c" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f051a81ebfb13e1ca485e63fabb53cb01cfaa610f5840f42dba2b22d932b37" dependencies = [ "bitflags 1.3.2", "ckb-error", @@ -1415,7 +1240,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0cc004a826b9bc9319ffae0b8415690e1b5f1482266d55fbd43843aa40ddcd63" dependencies = [ "byteorder", - "bytes 1.5.0", + "bytes", "cc", "ckb-vm-definitions", "derive_more", @@ -1481,6 +1306,7 @@ dependencies = [ "anstyle", "clap_lex", "strsim 0.10.0", + "terminal_size", ] [[package]] @@ -1625,7 +1451,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.7", + "generic-array", "rand_core 0.6.4", "typenum", ] @@ -1659,16 +1485,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "dashmap" -version = "4.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e77a43b28d0668df09411cb0bc9a8c2adc40f9a048afe863e05fd43251e8e39c" -dependencies = [ - "cfg-if 1.0.0", - "num_cpus", -] - [[package]] name = "dashmap" version = "5.5.3" @@ -1682,15 +1498,6 @@ dependencies = [ "parking_lot_core 0.9.9", ] -[[package]] -name = "deranged" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" -dependencies = [ - "powerfmt", -] - [[package]] name = "derive_more" version = "0.99.17" @@ -1704,22 +1511,13 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "digest" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" -dependencies = [ - "generic-array 0.12.4", -] - [[package]] name = "digest" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -1728,16 +1526,19 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer 0.10.4", + "block-buffer", "crypto-common", "subtle", ] [[package]] name = "dlv-list" -version = "0.3.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257" +checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f" +dependencies = [ + "const-random", +] [[package]] name = "eaglesong" @@ -1757,19 +1558,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" -[[package]] -name = "env_logger" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3" -dependencies = [ - "atty", - "humantime 1.3.0", - "log", - "regex", - "termcolor", -] - [[package]] name = "env_logger" version = "0.9.3" @@ -1777,7 +1565,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" dependencies = [ "atty", - "humantime 2.1.0", + "humantime", "log", "regex", "termcolor", @@ -1804,12 +1592,6 @@ dependencies = [ "rand 0.7.3", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "faster-hex" version = "0.6.1" @@ -1869,7 +1651,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" dependencies = [ "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1878,22 +1660,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" -[[package]] -name = "fuchsia-zircon" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" -dependencies = [ - "bitflags 1.3.2", - "fuchsia-zircon-sys", -] - -[[package]] -name = "fuchsia-zircon-sys" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" - [[package]] name = "futures" version = "0.3.28" @@ -1934,7 +1700,6 @@ dependencies = [ "futures-core", "futures-task", "futures-util", - "num_cpus", ] [[package]] @@ -1951,7 +1716,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -1966,12 +1731,6 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" -[[package]] -name = "futures-timer" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" - [[package]] name = "futures-util" version = "0.3.28" @@ -1990,24 +1749,6 @@ dependencies = [ "slab", ] -[[package]] -name = "fxhash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -dependencies = [ - "byteorder", -] - -[[package]] -name = "generic-array" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" -dependencies = [ - "typenum", -] - [[package]] name = "generic-array" version = "0.14.7" @@ -2098,41 +1839,20 @@ dependencies = [ "siphasher", ] -[[package]] -name = "governor" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06c5d2f987ee8f6dff3fa1a352058dc59b990e447e4c7846aa7d804971314f7b" -dependencies = [ - "dashmap 4.0.2", - "futures", - "futures-timer", - "no-std-compat", - "nonzero_ext", - "parking_lot 0.11.2", - "quanta", - "rand 0.8.5", - "smallvec", -] - [[package]] name = "hashbrown" -version = "0.8.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.3.8", - "autocfg 1.1.0", + "ahash", ] [[package]] name = "hashbrown" -version = "0.12.3" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.7", -] +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" [[package]] name = "hashbrown" @@ -2146,7 +1866,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1679e6ea370dee694f91f1dc469bf94cf8f52051d147aec3e1f9497c6fc22461" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -2164,6 +1884,12 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + [[package]] name = "hmac" version = "0.12.1" @@ -2188,7 +1914,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ - "bytes 1.5.0", + "bytes", "fnv", "itoa", ] @@ -2199,7 +1925,7 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ - "bytes 1.5.0", + "bytes", "http", "pin-project-lite", ] @@ -2216,15 +1942,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "humantime" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" -dependencies = [ - "quick-error", -] - [[package]] name = "humantime" version = "2.1.0" @@ -2237,7 +1954,7 @@ version = "0.14.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" dependencies = [ - "bytes 1.5.0", + "bytes", "futures-channel", "futures-core", "futures-util", @@ -2298,16 +2015,6 @@ dependencies = [ "walkdir", ] -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg 1.1.0", - "hashbrown 0.12.3", -] - [[package]] name = "indicatif" version = "0.16.2" @@ -2326,7 +2033,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -2338,15 +2045,6 @@ dependencies = [ "cfg-if 1.0.0", ] -[[package]] -name = "iovec" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" -dependencies = [ - "libc", -] - [[package]] name = "ipnetwork" version = "0.18.0" @@ -2362,15 +2060,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "357376465c37db3372ef6a00585d336ed3d0f11d4345eef77ebcb05865392b21" -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "1.0.9" @@ -2438,28 +2127,13 @@ dependencies = [ "unicase", ] -[[package]] -name = "jsonrpc-pubsub" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011" -dependencies = [ - "futures", - "jsonrpc-core", - "lazy_static", - "log", - "parking_lot 0.11.2", - "rand 0.7.3", - "serde", -] - [[package]] name = "jsonrpc-server-utils" version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4" dependencies = [ - "bytes 1.5.0", + "bytes", "futures", "globset", "jsonrpc-core", @@ -2471,53 +2145,6 @@ dependencies = [ "unicase", ] -[[package]] -name = "jsonrpc-tcp-server" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a0a0d35558123e93743d467285196905da1368500378cb5352b71856377874" -dependencies = [ - "jsonrpc-core", - "jsonrpc-server-utils", - "log", - "parking_lot 0.11.2", - "tower-service", -] - -[[package]] -name = "jsonrpc-ws-server" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f892c7d766369475ab7b0669f417906302d7c0fb521285c0a0c92e52e7c8e946" -dependencies = [ - "futures", - "jsonrpc-core", - "jsonrpc-server-utils", - "log", - "parity-ws", - "parking_lot 0.11.2", - "slab", -] - -[[package]] -name = "kernel32-sys" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] - -[[package]] -name = "keyed_priority_queue" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a59df08c683d655315a5a674004a3da802743579069278fa07c37cf8a3e8d4" -dependencies = [ - "indexmap", -] - [[package]] name = "lazy_static" version = "1.4.0" @@ -2543,7 +2170,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ "cfg-if 1.0.0", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -2592,6 +2219,15 @@ version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +[[package]] +name = "memmap2" +version = "0.5.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +dependencies = [ + "libc", +] + [[package]] name = "memoffset" version = "0.9.0" @@ -2610,6 +2246,29 @@ dependencies = [ "cfg-if 1.0.0", ] +[[package]] +name = "miette" +version = "5.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59bb584eaeeab6bd0226ccf3509a69d7936d148cf3d036ad350abe35e8c6856e" +dependencies = [ + "miette-derive", + "once_cell", + "thiserror", + "unicode-width", +] + +[[package]] +name = "miette-derive" +version = "5.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + [[package]] name = "minimal-lexical" version = "0.2.1" @@ -2622,26 +2281,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.6.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" -dependencies = [ - "cfg-if 0.1.10", - "fuchsia-zircon", - "fuchsia-zircon-sys", - "iovec", - "kernel32-sys", - "libc", - "log", - "miow", - "net2", - "slab", - "winapi 0.2.8", + "adler", ] [[package]] @@ -2655,37 +2295,13 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "mio-extras" -version = "2.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" -dependencies = [ - "lazycell", - "log", - "mio 0.6.23", - "slab", -] - -[[package]] -name = "miow" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" -dependencies = [ - "kernel32-sys", - "net2", - "winapi 0.2.8", - "ws2_32-sys", -] - [[package]] name = "molecule" version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4fd9767ab5e5f2ea40f71ff4c8bdb633c50509052e093c2fdd0e390a749dfa3" dependencies = [ - "bytes 1.5.0", + "bytes", "cfg-if 1.0.0", "faster-hex", ] @@ -2722,7 +2338,7 @@ checksum = "b13b648036a2339d06de780866fbdfda0dde886de7b3af2ddeba8b14f4ee34ac" dependencies = [ "cfg-if 0.1.10", "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -2736,15 +2352,6 @@ dependencies = [ "libc", ] -[[package]] -name = "no-std-compat" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" -dependencies = [ - "hashbrown 0.8.2", -] - [[package]] name = "nohash-hasher" version = "0.2.0" @@ -2761,21 +2368,6 @@ dependencies = [ "minimal-lexical", ] -[[package]] -name = "nonzero_ext" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44a1290799eababa63ea60af0cbc3f03363e328e58f32fb0294798ed3e85f444" - -[[package]] -name = "num-traits" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" -dependencies = [ - "autocfg 1.1.0", -] - [[package]] name = "num_cpus" version = "1.16.0" @@ -2853,12 +2445,6 @@ version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" -[[package]] -name = "opaque-debug" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" - [[package]] name = "opaque-debug" version = "0.3.0" @@ -2888,7 +2474,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -2905,30 +2491,12 @@ dependencies = [ [[package]] name = "ordered-multimap" -version = "0.4.3" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccd746e37177e1711c20dd619a1620f34f5c8b569c53590a72dedd5344d8924a" +checksum = "4ed8acf08e98e744e5384c8bc63ceb0364e68a6854187221c18df61c4797690e" dependencies = [ "dlv-list", - "hashbrown 0.12.3", -] - -[[package]] -name = "parity-ws" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5983d3929ad50f12c3eb9a6743f19d691866ecd44da74c0a3308c3f8a56df0c6" -dependencies = [ - "byteorder", - "bytes 0.4.12", - "httparse", - "log", - "mio 0.6.23", - "mio-extras", - "rand 0.7.3", - "sha-1", - "slab", - "url", + "hashbrown 0.13.2", ] [[package]] @@ -2963,7 +2531,7 @@ dependencies = [ "libc", "redox_syscall 0.2.16", "smallvec", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3072,22 +2640,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug", "universal-hash", ] -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - [[package]] name = "ppv-lite86" version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +[[package]] +name = "prettyplease" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" +dependencies = [ + "proc-macro2", + "syn 2.0.48", +] + [[package]] name = "proc-macro-crate" version = "0.1.5" @@ -3123,9 +2695,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.69" +version = "1.0.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" +checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" dependencies = [ "unicode-ident", ] @@ -3163,27 +2735,11 @@ version = "2.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" -[[package]] -name = "quanta" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d98dc777a7a39b76b1a26ae9d3f691f4c1bc0455090aa0b64dfa8cb7fc34c135" -dependencies = [ - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -3204,7 +2760,7 @@ dependencies = [ "rand_os", "rand_pcg 0.1.2", "rand_xorshift", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3330,7 +2886,7 @@ checksum = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b" dependencies = [ "libc", "rand_core 0.4.2", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3344,7 +2900,7 @@ dependencies = [ "libc", "rand_core 0.4.2", "rdrand", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3431,6 +2987,17 @@ dependencies = [ "bitflags 1.3.2", ] +[[package]] +name = "reflink-copy" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "767be24c0da52e7448d495b8d162506a9aa125426651d547d545d6c2b4b65b62" +dependencies = [ + "cfg-if 1.0.0", + "rustix", + "windows", +] + [[package]] name = "regex" version = "1.10.2" @@ -3460,33 +3027,6 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" -[[package]] -name = "rhai" -version = "1.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "206cee941730eaf90a22c84235b25193df661393688162e15551164f92f09eca" -dependencies = [ - "ahash 0.8.6", - "bitflags 2.4.1", - "instant", - "num-traits", - "once_cell", - "rhai_codegen", - "smallvec", - "smartstring", -] - -[[package]] -name = "rhai_codegen" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "853977598f084a492323fe2f7896b4100a86284ee8473612de60021ea341310f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.38", -] - [[package]] name = "ring" version = "0.16.20" @@ -3499,14 +3039,14 @@ dependencies = [ "spin", "untrusted", "web-sys", - "winapi 0.3.9", + "winapi", ] [[package]] name = "rust-ini" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6d5f2436026b4f6e79dc829837d467cc7e9a55ee40e750d716713540715a2df" +checksum = "7e2a3bcec1f113553ef1c88aae6c020a369d03d55b58de9869a0908930385091" dependencies = [ "cfg-if 1.0.0", "ordered-multimap", @@ -3613,22 +3153,22 @@ checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" [[package]] name = "serde" -version = "1.0.190" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7" +checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.190" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3" +checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -3653,14 +3193,24 @@ dependencies = [ [[package]] name = "sha-1" -version = "0.8.2" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.7", +] + +[[package]] +name = "sha1" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.7", ] [[package]] @@ -3704,39 +3254,12 @@ dependencies = [ "autocfg 1.1.0", ] -[[package]] -name = "sled" -version = "0.34.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f96b4737c2ce5987354855aed3797279def4ebf734436c6aa4552cf8e169935" -dependencies = [ - "crc32fast", - "crossbeam-epoch", - "crossbeam-utils", - "fs2", - "fxhash", - "libc", - "log", - "parking_lot 0.11.2", -] - [[package]] name = "smallvec" version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" -[[package]] -name = "smartstring" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29" -dependencies = [ - "autocfg 1.1.0", - "static_assertions", - "version_check", -] - [[package]] name = "snap" version = "1.1.0" @@ -3750,7 +3273,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" dependencies = [ "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3770,10 +3293,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] -name = "static_assertions" -version = "1.1.0" +name = "ssri" +version = "9.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +checksum = "da7a2b3c2bc9693bcb40870c4e9b5bf0d79f9cb46273321bf855ec513e919082" +dependencies = [ + "base64", + "digest 0.10.7", + "hex", + "miette", + "serde", + "sha-1", + "sha2", + "thiserror", + "xxhash-rust", +] [[package]] name = "strsim" @@ -3806,9 +3340,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.38" +version = "2.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" +checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" dependencies = [ "proc-macro2", "quote", @@ -3835,7 +3369,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ffbbdb4f54a9605ceda168884efcf5fb24ef655103362af211e6cfe61eff832" dependencies = [ "async-trait", - "bytes 1.5.0", + "bytes", "futures", "igd", "js-sys", @@ -3855,7 +3389,7 @@ dependencies = [ "tokio-yamux", "wasm-bindgen", "wasm-bindgen-futures", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3865,7 +3399,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "895b25a7de42f7bba27b011495a4a48ea7f0591c079f59c8fdb07936ca8aa3d1" dependencies = [ "bs58", - "bytes 1.5.0", + "bytes", "serde", "sha2", "unsigned-varint", @@ -3878,7 +3412,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78a41abd9ae459d1f744f59670d8f4e9a25c4597b12b9060740fbd17bf9687fc" dependencies = [ "bs58", - "bytes 1.5.0", + "bytes", "chacha20poly1305", "futures", "hmac", @@ -3907,6 +3441,16 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "terminal_size" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix", + "windows-sys 0.48.0", +] + [[package]] name = "textwrap" version = "0.11.0" @@ -3933,57 +3477,7 @@ checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", -] - -[[package]] -name = "tikv-jemalloc-ctl" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "619bfed27d807b54f7f776b9430d4f8060e66ee138a28632ca898584d462c31c" -dependencies = [ - "libc", - "paste", - "tikv-jemalloc-sys", -] - -[[package]] -name = "tikv-jemalloc-sys" -version = "0.5.4+5.3.0-patched" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "time" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" -dependencies = [ - "deranged", - "itoa", - "powerfmt", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" -dependencies = [ - "time-core", + "syn 2.0.48", ] [[package]] @@ -4017,9 +3511,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" dependencies = [ "backtrace", - "bytes 1.5.0", + "bytes", "libc", - "mio 0.8.9", + "mio", "num_cpus", "parking_lot 0.12.1", "pin-project-lite", @@ -4037,7 +3531,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -4057,7 +3551,7 @@ version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36943ee01a6d67977dd3f84a5a1d2efeb4ada3a1ae771cadfaa535d9d9fc6507" dependencies = [ - "bytes 1.5.0", + "bytes", "futures-core", "futures-sink", "log", @@ -4071,7 +3565,7 @@ version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" dependencies = [ - "bytes 1.5.0", + "bytes", "futures-core", "futures-sink", "pin-project-lite", @@ -4085,7 +3579,7 @@ version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2ed88a04bfbf9e70343a5748a423200ee0591c55e7e487d784a55ee8af17db9" dependencies = [ - "bytes 1.5.0", + "bytes", "futures", "log", "nohash-hasher", @@ -4300,7 +3794,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", "wasm-bindgen-shared", ] @@ -4334,7 +3828,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -4373,12 +3867,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f44b95f62d34113cf558c93511ac93027e03e9c29a60dd0fd70e6e025c7270a" -[[package]] -name = "winapi" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" - [[package]] name = "winapi" version = "0.3.9" @@ -4389,12 +3877,6 @@ dependencies = [ "winapi-x86_64-pc-windows-gnu", ] -[[package]] -name = "winapi-build" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" - [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" @@ -4407,7 +3889,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -4416,6 +3898,25 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +dependencies = [ + "windows-core", + "windows-targets 0.52.0", +] + +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -4464,6 +3965,21 @@ dependencies = [ "windows_x86_64_msvc 0.48.5", ] +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -4476,6 +3992,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -4488,6 +4010,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -4500,6 +4028,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -4512,6 +4046,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -4524,6 +4064,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -4536,6 +4082,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -4549,14 +4101,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] -name = "ws2_32-sys" -version = "0.2.1" +name = "windows_x86_64_msvc" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "x25519-dalek" @@ -4585,36 +4133,16 @@ dependencies = [ ] [[package]] -name = "yaml-rust" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992" - -[[package]] -name = "yansi" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" - -[[package]] -name = "zerocopy" -version = "0.7.15" +name = "xxhash-rust" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81ba595b9f2772fbee2312de30eeb80ec773b4cb2f1e8098db024afadda6c06f" -dependencies = [ - "zerocopy-derive", -] +checksum = "53be06678ed9e83edb1745eb72efc0bbcd7b5c3c35711a860906aed827a13d61" [[package]] -name = "zerocopy-derive" -version = "0.7.15" +name = "yaml-rust" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772666c41fb6dceaf520b564b962d738a8e1a83b41bd48945f50837aed78bb1d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.38", -] +checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992" [[package]] name = "zeroize" @@ -4633,5 +4161,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] diff --git a/Cargo.toml b/Cargo.toml index b9ae6ef..56f9f31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,24 +9,24 @@ homepage = "https://github.com/nervosnetwork/ckb-light-client" repository = "https://github.com/nervosnetwork/ckb-light-client" [dependencies] -ckb-app-config = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-async-runtime = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-stop-handler = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-constant = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-types = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-network = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-jsonrpc-types = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-error = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-script = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-chain-spec = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-traits = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-resource = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-verification = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-systemtime = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } -ckb-hash = { git = "https://github.com/quake/ckb", branch = "quake/light-client-extension" } +ckb-app-config = "0.113.0" +ckb-async-runtime = "0.113.0" +ckb-stop-handler = "0.113.0" +ckb-constant = "0.113.0" +ckb-types = "0.113.0" +ckb-network = "0.113.0" +ckb-jsonrpc-types = "0.113.0" +ckb-error = "0.113.0" +ckb-script = "0.113.0" +ckb-chain-spec = "0.113.0" +ckb-traits = "0.113.0" +ckb-resource = "0.113.0" +ckb-verification = "0.113.0" +ckb-systemtime = "0.113.0" +ckb-hash = "0.113.0" ckb-merkle-mountain-range = "0.5.1" golomb-coded-set = "0.2.0" -rocksdb = { package = "ckb-rocksdb", version ="=0.20.0", features = ["snappy"], default-features = false } +rocksdb = { package = "ckb-rocksdb", version ="=0.21.1", features = ["snappy"], default-features = false } numext-fixed-uint = { version = "0.1", features = ["support_rand", "support_heapsize", "support_serde"] } anyhow = "1.0.56" thiserror = "1.0.30" @@ -46,12 +46,11 @@ jsonrpc-http-server = "18.0" jsonrpc-server-utils = "18.0" [dev-dependencies] -ckb-launcher = "0.111.0" -ckb-shared = "0.111.0" -ckb-chain = "0.111.0" -ckb-tx-pool = "0.111.0" -ckb-store = "0.111.0" -ckb-systemtime = { version = "0.111.0", features = ["enable_faketime"] } +ckb-shared = "0.113.0" +ckb-chain = "0.113.0" +ckb-tx-pool = "0.113.0" +ckb-store = "0.113.0" +ckb-systemtime = { version = "0.113.0", features = ["enable_faketime"] } tempfile = "3.0" rand = "0.6" serde_json = "1.0" diff --git a/src/tests/utils/chain.rs b/src/tests/utils/chain.rs index ed65233..03b42b7 100644 --- a/src/tests/utils/chain.rs +++ b/src/tests/utils/chain.rs @@ -4,10 +4,9 @@ use ckb_app_config::{BlockAssemblerConfig, NetworkConfig}; use ckb_chain::chain::{ChainController, ChainService}; use ckb_chain_spec::{consensus::Consensus, ChainSpec}; use ckb_jsonrpc_types::JsonBytes; -use ckb_launcher::SharedBuilder; use ckb_network::{Flags, NetworkController, NetworkService, NetworkState}; use ckb_resource::Resource; -use ckb_shared::Shared; +use ckb_shared::{Shared, SharedBuilder}; use ckb_types::{core, prelude::*}; use crate::{