From c70684e04c6ecb2343103dd56f89228909e33081 Mon Sep 17 00:00:00 2001 From: Dylan Duan Date: Tue, 5 Sep 2023 16:37:29 +0800 Subject: [PATCH] chore: Bump version to v0.11.0 --- .github/workflows/rust.yml | 2 +- Cargo.lock | 79 +++++++++++++++++++++++--------------- Cargo.toml | 4 +- rust-toolchain | 2 +- 4 files changed, 53 insertions(+), 34 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 113911c..64a206c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,7 +13,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2023-04-20 + toolchain: nightly-2023-06-13 override: true - uses: docker-practice/actions-setup-docker@master diff --git a/Cargo.lock b/Cargo.lock index 8fa4a77..c0ecdad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,12 +14,6 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - [[package]] name = "blake2b-ref" version = "0.2.1" @@ -77,18 +71,18 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "ckb-channel" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c37f58ccee88155144067490986221d6e65b721f9184ce4f775621d8c453247e" +checksum = "3d0949a80267a74619af574950251b3313c850e16568ad13ada115fb1c99d775" dependencies = [ "crossbeam-channel", ] [[package]] name = "ckb-error" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "548dad083a5846996d38fb2680e4fd20737c23be4c6dbbc897bba63fc69427fd" +checksum = "d627d52ba60a88534a6e0d3af759f18bc82341895fbfad6dffaa4373278c93cd" dependencies = [ "anyhow", "ckb-occupied-capacity", @@ -98,9 +92,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e16c26d073b6ce9820154d8fb067d95dbfcb91faa693162341e90f26c3363f" +checksum = "f5072b9497962b0d0f64d2894081aee85f84a72e0dbda4bb6511a5fc50256e92" dependencies = [ "ckb-fixed-hash-core", "ckb-fixed-hash-macros", @@ -108,9 +102,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-core" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c7cda98b0ed0f7c46788e5399b1c69423cad02cf9b8f9f77e3ed7cfbd95dcc" +checksum = "aa3b9a17c00132cfa9d414d091a8ec7c3fd7b711056140b9771d3429192e1a37" dependencies = [ "faster-hex", "serde", @@ -119,9 +113,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-macros" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc8f5a4d66e01da9f8024aea5a49ee0c93f7a927e932b37c162c7afd38959f4" +checksum = "0152fab35135f64a05ec83b36320e2d36f168e99b4b7e132e3b46a3b35d2b131" dependencies = [ "ckb-fixed-hash-core", "proc-macro2", @@ -131,19 +125,28 @@ dependencies = [ [[package]] name = "ckb-hash" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380702c09207ac378708f075d72b336adeb17b8887dcfcc1bf9460e10ea1e285" +checksum = "39bc0c99665a84a4134fc43045e92691709d1935318c6dcba7142ba17d521732" dependencies = [ "blake2b-ref 0.2.1", "blake2b-rs", ] +[[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" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c9aa5e0ccfc275af08d2423b8e7cbd98c980d2565950a4e3efc13182f0ae1bf" +checksum = "7548e17a13650ffb86ea1de2ab7d45eb69293d71a10bbb4da716e5cb577e4c8d" dependencies = [ "ckb-occupied-capacity-core", "ckb-occupied-capacity-macros", @@ -151,18 +154,18 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity-core" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "118085f13bf4d4a160c6df360adcc2142ab40f7cf0aea058d2a5a4ca4dd61172" +checksum = "1d69e5061b60a09cc6a228cacab093944e553d2a0353fbf48f3e091db1c074d0" dependencies = [ "serde", ] [[package]] name = "ckb-occupied-capacity-macros" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ca47bd5b0c381284f3f858cc6fd9087adecc384b1535e869a231061a23a7b59" +checksum = "26ef78f6d9e96c3d472b4a4b405d18f6ab5473c74c9fda5f9f547bb88dbeb80a" dependencies = [ "ckb-occupied-capacity-core", "quote", @@ -171,9 +174,9 @@ dependencies = [ [[package]] name = "ckb-rational" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6942caea45b9da94b0321e738f6d58ba9f3d03347936d76924d102d360300bc4" +checksum = "883e1dd209110a7861f1523a475bba164ebd9b6b6d7c45fee7830a45901b11f4" dependencies = [ "numext-fixed-uint", "serde", @@ -203,20 +206,21 @@ dependencies = [ [[package]] name = "ckb-types" -version = "0.103.0" +version = "0.110.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2c24d49d19a4b367ba9be3538e404131e5b911ecf8bba93bc08776377d06e67" +checksum = "0db6894a5e8b06331a4bdc9c9c2b0fab9257bb3cf9abaa70771539a6551e6413" dependencies = [ "bit-vec", - "bitflags", "bytes", "ckb-channel", "ckb-error", "ckb-fixed-hash", "ckb-hash", + "ckb-merkle-mountain-range", "ckb-occupied-capacity", "ckb-rational", "derive_more", + "golomb-coded-set", "merkle-cbt", "molecule", "numext-fixed-uint", @@ -225,7 +229,7 @@ dependencies = [ [[package]] name = "cota-smt" -version = "0.10.0" +version = "0.11.0" dependencies = [ "blake2b-ref 0.3.1", "cfg-if 1.0.0", @@ -289,6 +293,15 @@ dependencies = [ "wasi", ] +[[package]] +name = "golomb-coded-set" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7076c0cd6257d84b785b0f22c36443dd47a5e86a1256d7ef82c8cb88ea9a7e" +dependencies = [ + "siphasher", +] + [[package]] name = "heapsize" version = "0.4.2" @@ -467,6 +480,12 @@ dependencies = [ "syn", ] +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + [[package]] name = "sparse-merkle-tree" version = "0.6.1" diff --git a/Cargo.toml b/Cargo.toml index 11621a9..94b0819 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "cota-smt" -version = "0.10.0" +version = "0.11.0" edition = "2021" [dependencies] cfg-if = "1.0" blake2b-ref = "0.3.1" ckb-std = {version = "0.14.2", optional = true} -ckb-types = {version = "0.103.0", optional = true} +ckb-types = {version = "0.110.1", optional = true} molecule = {version = "0.7.2", default_features = false, optional = true} sparse-merkle-tree = {version = "0.6.1", default_features = false} diff --git a/rust-toolchain b/rust-toolchain index 4d7f4ec..d6a969c 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2023-04-20 \ No newline at end of file +nightly-2023-06-13 \ No newline at end of file