From 53532b73cc04c1f7dcd258177152d64d6bdba006 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 05:32:35 +0000 Subject: [PATCH] fix(deps): update rust crate ckb-types to 0.120.0 --- Cargo.lock | 223 ++++++++++++++++++++++++++++++++++++++--------------- Cargo.toml | 2 +- 2 files changed, 163 insertions(+), 62 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 919a3ae..b4a7d22 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "anyhow" @@ -38,9 +38,9 @@ checksum = "1f0d2da64a6a895d5a7e0724882825d50f83c13396b1b9f1878e19a024bab395" [[package]] name = "bytes" -version = "1.1.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" dependencies = [ "serde", ] @@ -65,24 +65,24 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "ckb-channel" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d21e6d4ad47858609ced9d887e63e821ba6770f28e7be58e8d56213a0d0924" +checksum = "0879a0321461fea8f83bd31bfc1286db5684917fb1590bdae62212e1577c1d68" dependencies = [ "crossbeam-channel", ] [[package]] name = "ckb-constant" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42093e370876b71569292fc0aa9ae1078114ee678c4e4b4ae77a81b590fdba7" +checksum = "a6e9dc8183f3cb8a26ae823807db272a1686f7aca51a02756058e0adecff0430" [[package]] name = "ckb-error" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9948a60c3fa47131ec9907cfb64c94e4fd9199ef9329ba0ba4d53b8e03adfbbe" +checksum = "be39610d6bfdf514e3cfca93479d778d8b5042f5a9f6796764f72d4b90f78f3c" dependencies = [ "anyhow", "ckb-occupied-capacity", @@ -92,9 +92,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0629983e05127c5bbf025cefdac36a91c3a0720acf1b2e2637ff1f0ac673a78c" +checksum = "54aeaa06d661c9faf63b2b16b5ac5c3e49f1da2da9cd87ae57211ba43c57eefd" dependencies = [ "ckb-fixed-hash-core", "ckb-fixed-hash-macros", @@ -102,10 +102,11 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-core" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c582d7d52e96ce65c2995a7f399c6dc3f314fec64dd15d47ec903896ac24a428" +checksum = "fa6fc0496721ef890283de989fbbcf196cd849c3cb4c2a971d87a8ed7dc01e29" dependencies = [ + "ckb_schemars", "faster-hex", "serde", "thiserror", @@ -113,14 +114,14 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-macros" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bae4184f70cbd2e36839d902f403f06ea6a009df67ac2f7d37942890459618c" +checksum = "607d90be4f06bba39e4feb9dcecc59210a92a1e101e3aead5f2c7ffd53fcccc8" dependencies = [ "ckb-fixed-hash-core", "proc-macro2", "quote", - "syn", + "syn 1.0.82", ] [[package]] @@ -131,21 +132,21 @@ checksum = "4a12020d50dd3757cde0fdc88d3837b7a2ab503fe38bd11be86ddace11318c77" dependencies = [ "cfg-if 1.0.0", "ckb-hash 0.112.1", - "molecule", + "molecule 0.7.5", ] [[package]] name = "ckb-gen-types" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c709b63557041d03db0bc09b56ddc95de455ea555d537d5599117163f095973c" +checksum = "79f43bc83d3a1d82ac6cd6a807e1d2c6a67524e8056481e377efb1797295ca90" dependencies = [ "cfg-if 1.0.0", "ckb-error", "ckb-fixed-hash", - "ckb-hash 0.113.0", + "ckb-hash 0.120.0", "ckb-occupied-capacity", - "molecule", + "molecule 0.8.0", "numext-fixed-uint", ] @@ -160,9 +161,9 @@ dependencies = [ [[package]] name = "ckb-hash" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b78504239eedf043013a4c1d5a3cf38a2917ef37643c3608ff4183aa2888f48f" +checksum = "2df8fb6acacdb056b69ec1071491323ab46e90bd6fec3dbc8964f44366f03866" dependencies = [ "blake2b-ref", "blake2b-rs", @@ -179,9 +180,9 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfe678c0047869c71ae01369ada83ebb43567504c3c5e338a64dcd679b98ecad" +checksum = "4e8f56105b1b398830a14873a65b9df8559191f805d093531caaf085cac5d530" dependencies = [ "ckb-occupied-capacity-core", "ckb-occupied-capacity-macros", @@ -189,29 +190,29 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity-core" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35dba70fddc9eda1906875b4c99b14d64910a429a58972658e8f65930f77f27b" +checksum = "9e92b81655400f098e62791edfddbed282e7f113c24d92ab7f663d0c55a4d44d" dependencies = [ "serde", ] [[package]] name = "ckb-occupied-capacity-macros" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a37efa3314fc8d1b6ead861743e7012126204449a7c6579f0e571a3456d0d34" +checksum = "81e47e6a792a3844f54acf193352d584c17c754e89f09771dc85b2236947b836" dependencies = [ "ckb-occupied-capacity-core", "quote", - "syn", + "syn 1.0.82", ] [[package]] name = "ckb-rational" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0d64ef7e9b0785e1b2acdc1a96072bbdefa6ac72bca36de91d9d9e65cd39bbd" +checksum = "db5295fa8cce32bae504dfbf6046a878d77282ef7e17d823e9ce8170749315b5" dependencies = [ "numext-fixed-uint", "serde", @@ -230,9 +231,9 @@ dependencies = [ [[package]] name = "ckb-types" -version = "0.113.0" +version = "0.120.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb8a1e28eeb4bc18dfc0e97306147d1c9399ffab6292185346a2af2983ed80f3" +checksum = "6426a04e711563195a97e9ef372b160de2ce7220161d73e4742b81f0292686c2" dependencies = [ "bit-vec", "bytes", @@ -240,20 +241,43 @@ dependencies = [ "ckb-constant", "ckb-error", "ckb-fixed-hash", - "ckb-gen-types 0.113.0", - "ckb-hash 0.113.0", + "ckb-gen-types 0.120.0", + "ckb-hash 0.120.0", "ckb-merkle-mountain-range", "ckb-occupied-capacity", "ckb-rational", "derive_more", "golomb-coded-set", "merkle-cbt", - "molecule", + "molecule 0.8.0", "numext-fixed-uint", - "once_cell", "paste", ] +[[package]] +name = "ckb_schemars" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f21f99fca82a4eb8708e406e99246987b087ecc1e1babeece1a0b1d5238b1750" +dependencies = [ + "ckb_schemars_derive", + "dyn-clone", + "serde", + "serde_json", +] + +[[package]] +name = "ckb_schemars_derive" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c813b4fadbdd9f33b1cf02a1ddfa9537d955c8d2fbe150d1fc1684dbf78e73" +dependencies = [ + "proc-macro2", + "quote", + "serde_derive_internals", + "syn 1.0.82", +] + [[package]] name = "cota-smt" version = "0.12.0" @@ -262,7 +286,7 @@ dependencies = [ "cfg-if 1.0.0", "ckb-std", "ckb-types", - "molecule", + "molecule 0.7.5", "sparse-merkle-tree", ] @@ -294,15 +318,31 @@ checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35" [[package]] name = "derive_more" -version = "0.99.17" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.90", + "unicode-xid", ] +[[package]] +name = "dyn-clone" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" + [[package]] name = "faster-hex" version = "0.6.1" @@ -338,6 +378,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "itoa" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" + [[package]] name = "lazy_static" version = "1.4.0" @@ -350,6 +396,12 @@ version = "0.2.109" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f98a04dce437184842841303488f70d0188c5f51437d2a834dc097eafa909a01" +[[package]] +name = "memchr" +version = "2.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" + [[package]] name = "merkle-cbt" version = "0.3.0" @@ -364,6 +416,15 @@ name = "molecule" version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4fd9767ab5e5f2ea40f71ff4c8bdb633c50509052e093c2fdd0e390a749dfa3" +dependencies = [ + "cfg-if 1.0.0", +] + +[[package]] +name = "molecule" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6efe1c7efcd0bdf4ca590e104bcb13087d9968956ae4ae98e92fb8c1da0f3730" dependencies = [ "bytes", "cfg-if 1.0.0", @@ -378,7 +439,7 @@ checksum = "621fe0f044729f810c6815cdd77e8f5e0cd803ce4f6a38380ebfc1322af98661" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.82", ] [[package]] @@ -413,15 +474,9 @@ dependencies = [ "numext-fixed-uint-core", "proc-macro2", "quote", - "syn", + "syn 1.0.82", ] -[[package]] -name = "once_cell" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" - [[package]] name = "paste" version = "1.0.14" @@ -436,18 +491,18 @@ checksum = "ed0cfbc8191465bed66e1718596ee0b0b35d5ee1f41c5df2189d0fe8bde535ba" [[package]] name = "proc-macro2" -version = "1.0.33" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb37d2df5df740e582f28f8560cf425f52bb267d872fe58358eadb554909f07a" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] name = "quote" -version = "1.0.10" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -493,24 +548,53 @@ dependencies = [ "rand_core", ] +[[package]] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" + [[package]] name = "serde" -version = "1.0.130" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913" +checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.130" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" +checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.90", +] + +[[package]] +name = "serde_derive_internals" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.82", +] + +[[package]] +name = "serde_json" +version = "1.0.133" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" +dependencies = [ + "itoa", + "memchr", + "ryu", + "serde", ] [[package]] @@ -541,6 +625,17 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "syn" +version = "2.0.90" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "thiserror" version = "1.0.30" @@ -558,9 +653,15 @@ checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.82", ] +[[package]] +name = "unicode-ident" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" + [[package]] name = "unicode-xid" version = "0.2.2" diff --git a/Cargo.toml b/Cargo.toml index 00c3516..d1fd6c0 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" cfg-if = "1.0" blake2b-ref = "0.3.1" ckb-std = {version = "0.15.0", optional = true} -ckb-types = {version = "0.113.0", optional = true} +ckb-types = {version = "0.120.0", optional = true} molecule = {version = "0.7.5", default_features = false, optional = true} sparse-merkle-tree = {version = "0.6.1", default_features = false}