From 8f7187d72d7104799088d2c489e4ebb27c9c260c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Apr 2023 07:05:32 +0000 Subject: [PATCH] fix(deps): update rust crate ckb-types to v0.108.1 --- Cargo.lock | 183 ++++++++++++++++++++++++++++++++++++++++++++++------- Cargo.toml | 2 +- 2 files changed, 160 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 116c515..953c98a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -233,13 +233,22 @@ dependencies = [ "crossbeam-channel", ] +[[package]] +name = "ckb-channel" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52664e02e09542635e1f1c831106ffd8ff4b45f779084b2b0eba1776bbe7cefa" +dependencies = [ + "crossbeam-channel", +] + [[package]] name = "ckb-crypto" version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7304d43ab21f4715bb77c955ccd9359bf851b868881a6e3499122b3266c82edf" dependencies = [ - "ckb-fixed-hash", + "ckb-fixed-hash 0.103.0", "faster-hex", "lazy_static", "rand 0.7.3", @@ -254,8 +263,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d2495561e01760b017595dd98c9a050c267301950de69212ff9819342dba0ab" dependencies = [ "byteorder", - "ckb-error", - "ckb-types", + "ckb-error 0.103.0", + "ckb-types 0.103.0", ] [[package]] @@ -265,7 +274,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "548dad083a5846996d38fb2680e4fd20737c23be4c6dbbc897bba63fc69427fd" dependencies = [ "anyhow", - "ckb-occupied-capacity", + "ckb-occupied-capacity 0.103.0", + "derive_more", + "thiserror", +] + +[[package]] +name = "ckb-error" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32775db75fb537c1674c606d0544a90387b66bf26f124db5733ef6ef925c93cf" +dependencies = [ + "anyhow", + "ckb-occupied-capacity 0.108.1", "derive_more", "thiserror", ] @@ -276,8 +297,18 @@ version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87e16c26d073b6ce9820154d8fb067d95dbfcb91faa693162341e90f26c3363f" dependencies = [ - "ckb-fixed-hash-core", - "ckb-fixed-hash-macros", + "ckb-fixed-hash-core 0.103.0", + "ckb-fixed-hash-macros 0.103.0", +] + +[[package]] +name = "ckb-fixed-hash" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0571fbe9584fdbabbd884f9d3f911b163f57c7d61d1df0191f945ac03ceca9b6" +dependencies = [ + "ckb-fixed-hash-core 0.108.1", + "ckb-fixed-hash-macros 0.108.1", ] [[package]] @@ -291,13 +322,36 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ckb-fixed-hash-core" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "548c4f95e73c37b542969580c41635b830d9b79f2486d99944b3fd30c6e64b2f" +dependencies = [ + "faster-hex", + "serde", + "thiserror", +] + [[package]] name = "ckb-fixed-hash-macros" version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bcc8f5a4d66e01da9f8024aea5a49ee0c93f7a927e932b37c162c7afd38959f4" dependencies = [ - "ckb-fixed-hash-core", + "ckb-fixed-hash-core 0.103.0", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "ckb-fixed-hash-macros" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "602f5d9c05f3462e906faa76639217f0965be5a3607902a222bcd2b060be796e" +dependencies = [ + "ckb-fixed-hash-core 0.108.1", "proc-macro2", "quote", "syn", @@ -313,13 +367,23 @@ dependencies = [ "blake2b-rs", ] +[[package]] +name = "ckb-hash" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28573f714520e678df48ab448964188cca7c6b33a6623f184939e13f5585e488" +dependencies = [ + "blake2b-ref 0.2.1", + "blake2b-rs", +] + [[package]] name = "ckb-jsonrpc-types" version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "305760c25e4b4bce5b11b1efe80ee7afe81cb63e39432725b01577fefe719ee1" dependencies = [ - "ckb-types", + "ckb-types 0.103.0", "faster-hex", "serde", "serde_json", @@ -339,14 +403,33 @@ dependencies = [ "rust-ini", ] +[[package]] +name = "ckb-merkle-mountain-range" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" +dependencies = [ + "cfg-if 1.0.0", +] + [[package]] name = "ckb-occupied-capacity" version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c9aa5e0ccfc275af08d2423b8e7cbd98c980d2565950a4e3efc13182f0ae1bf" dependencies = [ - "ckb-occupied-capacity-core", - "ckb-occupied-capacity-macros", + "ckb-occupied-capacity-core 0.103.0", + "ckb-occupied-capacity-macros 0.103.0", +] + +[[package]] +name = "ckb-occupied-capacity" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83b3f7d79fa763cad6d44bc9bbe1a18daf16c9b3d0e87564f9b24eb8c43d8e8f" +dependencies = [ + "ckb-occupied-capacity-core 0.108.1", + "ckb-occupied-capacity-macros 0.108.1", ] [[package]] @@ -358,13 +441,33 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-occupied-capacity-core" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dea39dd079179a501de5c94535797aaa5748a8565fb75bf37afaaae392d4ecf" +dependencies = [ + "serde", +] + [[package]] name = "ckb-occupied-capacity-macros" version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ca47bd5b0c381284f3f858cc6fd9087adecc384b1535e869a231061a23a7b59" dependencies = [ - "ckb-occupied-capacity-core", + "ckb-occupied-capacity-core 0.103.0", + "quote", + "syn", +] + +[[package]] +name = "ckb-occupied-capacity-macros" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be56062c13455b3c56d127c70682cf8282a083f858c89fe6b7e8af3f67da038b" +dependencies = [ + "ckb-occupied-capacity-core 0.108.1", "quote", "syn", ] @@ -379,6 +482,16 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-rational" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cc0a4e5addb15cca41bce2e7b901276002be4fcca27fdeb3165ad7b7c5ebecb" +dependencies = [ + "numext-fixed-uint", + "serde", +] + [[package]] name = "ckb-resource" version = "0.103.0" @@ -386,7 +499,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae84e61d1b7cc37353ba92dc122e7d3c746a9499473a448927393372e8d7daa6" dependencies = [ "ckb-system-scripts", - "ckb-types", + "ckb-types 0.103.0", "includedir", "includedir_codegen", "phf", @@ -415,11 +528,11 @@ dependencies = [ "bytes", "ckb-crypto", "ckb-dao-utils", - "ckb-hash", + "ckb-hash 0.103.0", "ckb-jsonrpc-types", "ckb-resource", "ckb-traits", - "ckb-types", + "ckb-types 0.103.0", "futures", "jsonrpc-core", "log", @@ -454,7 +567,7 @@ version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48f70a7bb9f8f85486f6e1bcae329a2f7495c36b996bf3bacca523ec43af355f" dependencies = [ - "ckb-types", + "ckb-types 0.103.0", ] [[package]] @@ -466,12 +579,34 @@ dependencies = [ "bit-vec", "bitflags", "bytes", - "ckb-channel", - "ckb-error", - "ckb-fixed-hash", - "ckb-hash", - "ckb-occupied-capacity", - "ckb-rational", + "ckb-channel 0.103.0", + "ckb-error 0.103.0", + "ckb-fixed-hash 0.103.0", + "ckb-hash 0.103.0", + "ckb-occupied-capacity 0.103.0", + "ckb-rational 0.103.0", + "derive_more", + "merkle-cbt", + "molecule", + "numext-fixed-uint", + "once_cell", +] + +[[package]] +name = "ckb-types" +version = "0.108.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db89f3d3c39dd9f4bc8887b9e675df087e888e4db748d8a1e02efbbc0f01e18f" +dependencies = [ + "bit-vec", + "bytes", + "ckb-channel 0.108.1", + "ckb-error 0.108.1", + "ckb-fixed-hash 0.108.1", + "ckb-hash 0.108.1", + "ckb-merkle-mountain-range", + "ckb-occupied-capacity 0.108.1", + "ckb-rational 0.108.1", "derive_more", "merkle-cbt", "molecule", @@ -514,7 +649,7 @@ dependencies = [ "ckb-jsonrpc-types", "ckb-rocksdb", "ckb-sdk", - "ckb-types", + "ckb-types 0.108.1", "cota-smt", "crc", "diesel", @@ -546,7 +681,7 @@ source = "git+https://github.com/nervina-labs/cota-smt?tag=0.8.0#1baab696db5023c dependencies = [ "blake2b-ref 0.3.1", "cfg-if 1.0.0", - "ckb-types", + "ckb-types 0.103.0", "sparse-merkle-tree", ] @@ -1148,7 +1283,7 @@ source = "git+https://github.com/nervina-labs/joyid-smt?tag=v0.8.0#f3e2f85a7a04a dependencies = [ "blake2b-ref 0.3.1", "cfg-if 1.0.0", - "ckb-types", + "ckb-types 0.103.0", "sparse-merkle-tree", ] diff --git a/Cargo.toml b/Cargo.toml index aa80db6..1740e4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ molecule = "0.7.2" lazy_static = "1.4" rocksdb = { package = "ckb-rocksdb", version = "=0.18.3", features = ["snappy"] } sparse-merkle-tree = "0.6.1" -ckb-types = "=0.103.0" +ckb-types = "=0.108.1" ckb-jsonrpc-types = ">=0.103.0" reqwest = { version = "0.11", features = ["json"] } tokio = { version = "1", features = ["rt", "net"] }