diff --git a/Cargo.lock b/Cargo.lock index b602f98..2388245 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -158,6 +158,12 @@ dependencies = [ "rustc-demangle", ] +[[package]] +name = "base64" +version = "0.21.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c79fed4cdb43e993fcdadc7e58a09fd0e3e649c4436fa11da71c9f1f3ee7feb9" + [[package]] name = "bit-vec" version = "0.6.3" @@ -192,6 +198,15 @@ dependencies = [ "cty", ] +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + [[package]] name = "bumpalo" version = "3.14.0" @@ -219,6 +234,33 @@ dependencies = [ "serde", ] +[[package]] +name = "cacache" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "142316461ed3a3dfcba10417317472da5bfd0461e4d276bf7c07b330766d9490" +dependencies = [ + "digest", + "either", + "futures", + "hex", + "libc", + "memmap2", + "miette", + "reflink-copy", + "serde", + "serde_derive", + "serde_json", + "sha1", + "sha2", + "ssri", + "tempfile", + "thiserror", + "tokio", + "tokio-stream", + "walkdir", +] + [[package]] name = "camino" version = "1.1.6" @@ -267,46 +309,47 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "ckb-chain-spec" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa9b89cadf419c220fa8e1c655af73540bbc010e8c0e177127644848a25830c2" +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.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82c904fe3e29474e4d09e8e2775a472456242f8faf18edeeb8c71502710daa38" +checksum = "50d21e6d4ad47858609ced9d887e63e821ba6770f28e7be58e8d56213a0d0924" dependencies = [ "crossbeam-channel", ] [[package]] name = "ckb-constant" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7d562e7156216f00c5bf55c8f4c86bc25f9ec0603fcfa6df9b66747462a031a" +checksum = "b42093e370876b71569292fc0aa9ae1078114ee678c4e4b4ae77a81b590fdba7" [[package]] name = "ckb-crypto" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abac585cec6f1562e374d66b369c55a52357b33a632d30d2e45cbc455183b22d" +checksum = "35ed640e73c39b5e0fc8a39c6d013733761023424e2bc70dafd74d92ce6c36cb" dependencies = [ "ckb-fixed-hash", "faster-hex", @@ -318,9 +361,9 @@ dependencies = [ [[package]] name = "ckb-dao-utils" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff55485163b842c94061b755c9e6230d1a4bb092b6bc81d8387358911c750e70" +checksum = "aaf9300f9b1ff36e576ca6ed374ec9704f6da6f61492ea48038ff0b9067c2779" dependencies = [ "byteorder", "ckb-error", @@ -329,7 +372,7 @@ dependencies = [ [[package]] name = "ckb-debugger" -version = "0.112.1" +version = "0.113.0" dependencies = [ "ckb-chain-spec", "ckb-debugger-api", @@ -357,7 +400,7 @@ dependencies = [ [[package]] name = "ckb-debugger-api" -version = "0.112.1" +version = "0.113.0" dependencies = [ "byteorder", "ckb-chain-spec", @@ -377,9 +420,9 @@ dependencies = [ [[package]] name = "ckb-error" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8418901ea0d15a8e26255bec0b71be5c59056858f51968894796f77f7eefa3e" +checksum = "9948a60c3fa47131ec9907cfb64c94e4fd9199ef9329ba0ba4d53b8e03adfbbe" dependencies = [ "anyhow", "ckb-occupied-capacity", @@ -389,9 +432,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1254aafda84e9abc85301e9e4c5b920c00a9bff0d42248fccf921b340ec5f13e" +checksum = "0629983e05127c5bbf025cefdac36a91c3a0720acf1b2e2637ff1f0ac673a78c" dependencies = [ "ckb-fixed-hash-core", "ckb-fixed-hash-macros", @@ -399,9 +442,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-core" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ffc2850ac8b5643c65913185020de747b290b447d1ee1fd59a2cfdf1a7ceb4f" +checksum = "c582d7d52e96ce65c2995a7f399c6dc3f314fec64dd15d47ec903896ac24a428" dependencies = [ "faster-hex", "serde", @@ -410,9 +453,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-macros" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa5a19a7d18caa5a3a65e66506e28943e95696e286df44457a77692319de429" +checksum = "3bae4184f70cbd2e36839d902f403f06ea6a009df67ac2f7d37942890459618c" dependencies = [ "ckb-fixed-hash-core", "proc-macro2", @@ -422,7 +465,7 @@ dependencies = [ [[package]] name = "ckb-gdb-remote-protocol" -version = "0.112.1" +version = "0.113.0" dependencies = [ "assert_cli", "bitflags 1.3.2", @@ -441,9 +484,9 @@ dependencies = [ [[package]] name = "ckb-gen-types" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a12020d50dd3757cde0fdc88d3837b7a2ab503fe38bd11be86ddace11318c77" +checksum = "c709b63557041d03db0bc09b56ddc95de455ea555d537d5599117163f095973c" dependencies = [ "cfg-if", "ckb-error", @@ -456,9 +499,9 @@ dependencies = [ [[package]] name = "ckb-hash" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25af660fc8746f7c756444e6aa47ede9a874206563b6a1ce1b230a5b86519392" +checksum = "b78504239eedf043013a4c1d5a3cf38a2917ef37643c3608ff4183aa2888f48f" dependencies = [ "blake2b-ref", "blake2b-rs", @@ -466,9 +509,9 @@ dependencies = [ [[package]] name = "ckb-jsonrpc-types" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06798b5bacd7fd4125a34f1c9ebf45be59d50aff0ada003bb8b1c6634a447c73" +checksum = "97cf7e01a18fb980f3d993fafdf06999379b71ebca098196ed42824bab0b3d9d" dependencies = [ "ckb-types", "faster-hex", @@ -476,6 +519,15 @@ dependencies = [ "serde_json", ] +[[package]] +name = "ckb-logger" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3f5f89647d0d71aef57cafc580c8ca770b1e7afa85400c29de10c6d6a5d2adc" +dependencies = [ + "log 0.4.20", +] + [[package]] name = "ckb-merkle-mountain-range" version = "0.5.2" @@ -487,7 +539,7 @@ dependencies = [ [[package]] name = "ckb-mock-tx-types" -version = "0.112.1" +version = "0.113.0" dependencies = [ "ckb-jsonrpc-types", "ckb-traits", @@ -497,9 +549,9 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be7132362f12a0495b3b24218afb4e774f9dc0d9254173d2444ec4ac1447461e" +checksum = "bfe678c0047869c71ae01369ada83ebb43567504c3c5e338a64dcd679b98ecad" dependencies = [ "ckb-occupied-capacity-core", "ckb-occupied-capacity-macros", @@ -507,18 +559,18 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity-core" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4ebe8725d6ee4feb9d376e9a600b2c78cc1dbde5aa754c9a47de871ab917635" +checksum = "35dba70fddc9eda1906875b4c99b14d64910a429a58972658e8f65930f77f27b" dependencies = [ "serde", ] [[package]] name = "ckb-occupied-capacity-macros" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "201a21d35a377b76440ce12ca62b39e548d019a6330fbdcb40ac0f73fe976cb3" +checksum = "1a37efa3314fc8d1b6ead861743e7012126204449a7c6579f0e571a3456d0d34" dependencies = [ "ckb-occupied-capacity-core", "quote 1.0.33", @@ -527,9 +579,9 @@ dependencies = [ [[package]] name = "ckb-pow" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5895b4799fbb7e537ef0a778493b8f8678284c2bb20b476edce3f3375d1c4aa1" +checksum = "c28156a3ea6941bad362f0de75a2358bc759f52d505b4cfae0db223e25646fdd" dependencies = [ "byteorder", "ckb-hash", @@ -541,9 +593,9 @@ dependencies = [ [[package]] name = "ckb-rational" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5134dae6f59b1c10457d2a5def081865407e756dd42dd4c7aaf5d6c6bc92b6d1" +checksum = "a0d64ef7e9b0785e1b2acdc1a96072bbdefa6ac72bca36de91d9d9e65cd39bbd" dependencies = [ "numext-fixed-uint", "serde", @@ -551,9 +603,9 @@ dependencies = [ [[package]] name = "ckb-resource" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3c79b7c1586ca652d150b2cfdc5ec8594055659f04e30f832178a14313cfff4" +checksum = "ea0c9ca6ccc86e4ed3f49c3dc05b1bd58f27205cb9ded891b86995a9edd06974" dependencies = [ "ckb-system-scripts", "ckb-types", @@ -566,9 +618,9 @@ dependencies = [ [[package]] name = "ckb-script" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "058cb8c72a706bfc95c9b90f7c0256abbc4f44e9c5cabcbf7d1d882df977e82b" +checksum = "ec56fceeff7d1fb5229bf03af876360dabf7f9da7eab67a3ce5164c09b4a90d4" dependencies = [ "byteorder", "ckb-chain-spec", @@ -596,18 +648,18 @@ dependencies = [ [[package]] name = "ckb-traits" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3396b8f328bc76bdfd9bc14ddd984a07d08120cd4e661ba1dc23fecb3a7607a3" +checksum = "a4fe215ac785af5f9011aeae14f6f1b05d8cad7ca76a98fe97bf374650e07ccc" dependencies = [ "ckb-types", ] [[package]] name = "ckb-types" -version = "0.112.1" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2df7c7410664bc917f1b663c574ec7c0e25711fe4f63eb0043c47c197afb0875" +checksum = "eb8a1e28eeb4bc18dfc0e97306147d1c9399ffab6292185346a2af2983ed80f3" dependencies = [ "bit-vec", "bytes", @@ -629,18 +681,6 @@ dependencies = [ "paste", ] -[[package]] -name = "ckb-util" -version = "0.112.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e6326a9adcfe1f4afa14f1a0da267e5718873e28cc271a5e03fc57ff02ce233" -dependencies = [ - "linked-hash-map", - "once_cell", - "parking_lot", - "regex 1.9.5", -] - [[package]] name = "ckb-vm" version = "0.24.6" @@ -661,7 +701,7 @@ dependencies = [ [[package]] name = "ckb-vm-debug-utils" -version = "0.112.1" +version = "0.113.0" dependencies = [ "byteorder", "bytes", @@ -685,7 +725,7 @@ dependencies = [ [[package]] name = "ckb-vm-pprof" -version = "0.112.1" +version = "0.113.0" dependencies = [ "addr2line 0.17.0", "ckb-vm", @@ -695,7 +735,7 @@ dependencies = [ [[package]] name = "ckb-vm-pprof-converter" -version = "0.112.1" +version = "0.113.0" dependencies = [ "ckb-vm-pprof-protos", "clap 4.4.4", @@ -704,7 +744,7 @@ dependencies = [ [[package]] name = "ckb-vm-pprof-protos" -version = "0.112.1" +version = "0.113.0" dependencies = [ "protobuf", "protoc-bin-vendored", @@ -713,7 +753,7 @@ dependencies = [ [[package]] name = "ckb-vm-signal-profiler" -version = "0.112.1" +version = "0.113.0" dependencies = [ "addr2line 0.17.0", "ckb-vm", @@ -799,6 +839,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "cpufeatures" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" +dependencies = [ + "libc", +] + [[package]] name = "crc32fast" version = "1.3.2" @@ -827,6 +876,16 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + [[package]] name = "cty" version = "0.2.2" @@ -852,6 +911,16 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3304d19798a8e067e48d8e69b2c37f0b5e9b4e462504ad9e27e9f3fce02bba8" +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + [[package]] name = "eaglesong" version = "0.1.0" @@ -960,6 +1029,95 @@ dependencies = [ "miniz_oxide", ] +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" + +[[package]] +name = "futures-executor" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + +[[package]] +name = "futures-macro" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +dependencies = [ + "proc-macro2", + "quote 1.0.33", + "syn 2.0.37", +] + +[[package]] +name = "futures-sink" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" + +[[package]] +name = "futures-task" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" + +[[package]] +name = "futures-util" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr 2.6.3", + "pin-project-lite", + "pin-utils", + "slab", +] + [[package]] name = "gdbstub" version = "0.6.6" @@ -984,6 +1142,16 @@ dependencies = [ "num-traits", ] +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + [[package]] name = "getrandom" version = "0.1.16" @@ -1154,30 +1322,11 @@ version = "0.2.148" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" -dependencies = [ - "serde", -] - [[package]] name = "linux-raw-sys" -version = "0.4.7" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128" - -[[package]] -name = "lock_api" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" -dependencies = [ - "autocfg", - "scopeguard", -] +checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" [[package]] name = "log" @@ -1215,6 +1364,15 @@ version = "2.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" +[[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.6.5" @@ -1242,6 +1400,29 @@ dependencies = [ "cfg-if", ] +[[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 1.0.33", + "syn 2.0.37", +] + [[package]] name = "miniz_oxide" version = "0.7.1" @@ -1388,29 +1569,6 @@ version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets", -] - [[package]] name = "paste" version = "1.0.14" @@ -1455,6 +1613,12 @@ dependencies = [ "siphasher", ] +[[package]] +name = "pin-project-lite" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" + [[package]] name = "pin-utils" version = "0.1.0" @@ -1696,6 +1860,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", + "rustix", + "windows", +] + [[package]] name = "regex" version = "0.2.11" @@ -1764,9 +1939,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.14" +version = "0.38.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "747c788e9ce8e92b12cd485c49ddf90723550b654b32508f979b71a7b1ecda4f" +checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" dependencies = [ "bitflags 2.4.0", "errno", @@ -1790,12 +1965,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - [[package]] name = "scroll" version = "0.10.2" @@ -1883,6 +2052,39 @@ dependencies = [ "serde", ] +[[package]] +name = "sha-1" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + [[package]] name = "siphasher" version = "0.3.11" @@ -1904,12 +2106,38 @@ dependencies = [ "walkdir", ] +[[package]] +name = "slab" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +dependencies = [ + "autocfg", +] + [[package]] name = "smallvec" version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" +[[package]] +name = "ssri" +version = "9.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7a2b3c2bc9693bcb40870c4e9b5bf0d79f9cb46273321bf855ec513e919082" +dependencies = [ + "base64", + "digest", + "hex", + "miette", + "serde", + "sha-1", + "sha2", + "thiserror", + "xxhash-rust", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -2046,6 +2274,40 @@ dependencies = [ "lazy_static", ] +[[package]] +name = "tokio" +version = "1.35.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +dependencies = [ + "backtrace", + "bytes", + "pin-project-lite", + "tokio-macros", +] + +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote 1.0.33", + "syn 2.0.37", +] + +[[package]] +name = "tokio-stream" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + [[package]] name = "toml" version = "0.5.11" @@ -2055,6 +2317,12 @@ dependencies = [ "serde", ] +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + [[package]] name = "ucd-util" version = "0.1.10" @@ -2240,13 +2508,32 @@ 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.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets", + "windows-targets 0.48.5", ] [[package]] @@ -2255,13 +2542,28 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "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]] @@ -2270,38 +2572,86 @@ 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.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.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.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.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.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.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + +[[package]] +name = "xxhash-rust" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53be06678ed9e83edb1745eb72efc0bbcd7b5c3c35711a860906aed827a13d61" diff --git a/ckb-debugger-api/Cargo.toml b/ckb-debugger-api/Cargo.toml index 0e4884f..a141733 100644 --- a/ckb-debugger-api/Cargo.toml +++ b/ckb-debugger-api/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ckb-debugger-api" description = "Standalone debugger for Nervos CKB" -version = "0.112.1" +version = "0.113.0" license = "MIT" authors = ["Nervos Core Dev "] edition = "2021" @@ -10,12 +10,12 @@ edition = "2021" crate-type = ["cdylib", "rlib"] [dependencies] -ckb-hash = "=0.112.1" -ckb-chain-spec = "=0.112.1" -ckb-jsonrpc-types = "=0.112.1" -ckb-mock-tx-types = { path = "../ckb-mock-tx-types", version="0.112.1" } -ckb-script = { version = "=0.112.1", default-features = false } -ckb-types = "=0.112.1" +ckb-hash = "=0.113.0" +ckb-chain-spec = "=0.113.0" +ckb-jsonrpc-types = "=0.113.0" +ckb-mock-tx-types = { path = "../ckb-mock-tx-types", version="0.113.0" } +ckb-script = { version = "=0.113.0", default-features = false } +ckb-types = "=0.113.0" ckb-vm = "=0.24.6" hex = "0.4" regex = "1" diff --git a/ckb-debugger/Cargo.toml b/ckb-debugger/Cargo.toml index 01ce627..2752f01 100644 --- a/ckb-debugger/Cargo.toml +++ b/ckb-debugger/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ckb-debugger" description = "Standalone debugger for Nervos CKB" -version = "0.112.1" +version = "0.113.0" license = "MIT" authors = ["Nervos Core Dev "] edition = "2021" @@ -13,17 +13,17 @@ probes = ["probe", "ckb-script/flatmemory"] [dependencies] clap = "2.33.0" -ckb-chain-spec = "=0.112.1" -ckb-debugger-api = { path = "../ckb-debugger-api", version="0.112.1" } -ckb-hash = "=0.112.1" -ckb-mock-tx-types = { path = "../ckb-mock-tx-types", version="0.112.1" } -ckb-script = { version = "=0.112.1", default-features = false } -ckb-types = "=0.112.1" +ckb-chain-spec = "=0.113.0" +ckb-debugger-api = { path = "../ckb-debugger-api", version="0.113.0" } +ckb-hash = "=0.113.0" +ckb-mock-tx-types = { path = "../ckb-mock-tx-types", version="0.113.0" } +ckb-script = { version = "=0.113.0", default-features = false } +ckb-types = "=0.113.0" ckb-vm = { version = "=0.24.6" } -ckb-vm-debug-utils = { path = "../ckb-vm-debug-utils", version="0.112.1" } -ckb-vm-pprof = { path = "../ckb-vm-pprof", version="0.112.1" } +ckb-vm-debug-utils = { path = "../ckb-vm-debug-utils", version="0.113.0" } +ckb-vm-pprof = { path = "../ckb-vm-pprof", version="0.113.0" } env_logger = "0.4.3" -ckb-gdb-remote-protocol = { path = "../ckb-gdb-remote-protocol", version="0.112.1" } +ckb-gdb-remote-protocol = { path = "../ckb-gdb-remote-protocol", version="0.113.0" } gdbstub = "0.6.6" gdbstub_arch = "0.2.4" hex = "0.4" diff --git a/ckb-debugger/README.md b/ckb-debugger/README.md index d578fff..46d214d 100644 --- a/ckb-debugger/README.md +++ b/ckb-debugger/README.md @@ -9,7 +9,7 @@ For Rust library usage, refer to the included tests, they are quite self-explana See the command line help part for usage on the binary debugger: ```text -ckb-debugger 0.112.1 +ckb-debugger 0.113.0 USAGE: ckb-debugger [FLAGS] [OPTIONS] --mode --tx-file [args]... diff --git a/ckb-gdb-remote-protocol/Cargo.toml b/ckb-gdb-remote-protocol/Cargo.toml index e3560fc..7c35fae 100644 --- a/ckb-gdb-remote-protocol/Cargo.toml +++ b/ckb-gdb-remote-protocol/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ckb-gdb-remote-protocol" edition = "2021" -version = "0.112.1" +version = "0.113.0" description = "An implementation of the GDB remote protocol" authors = ["Ted Mielczarek "] license = "Apache-2.0/MIT" diff --git a/ckb-mock-tx-types/Cargo.toml b/ckb-mock-tx-types/Cargo.toml index c75cb1b..5437354 100644 --- a/ckb-mock-tx-types/Cargo.toml +++ b/ckb-mock-tx-types/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ckb-mock-tx-types" description = "CKB mock transaction types" -version = "0.112.1" +version = "0.113.0" license = "MIT" edition = "2021" authors = ["Nervos Core Dev "] @@ -9,7 +9,7 @@ authors = ["Nervos Core Dev "] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ckb-types = "=0.112.1" -ckb-jsonrpc-types = "=0.112.1" -ckb-traits = "=0.112.1" +ckb-types = "=0.113.0" +ckb-jsonrpc-types = "=0.113.0" +ckb-traits = "=0.113.0" serde = { version = "1.0", features=["derive"] } diff --git a/ckb-vm-debug-utils/Cargo.toml b/ckb-vm-debug-utils/Cargo.toml index f42e864..e54139c 100644 --- a/ckb-vm-debug-utils/Cargo.toml +++ b/ckb-vm-debug-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-vm-debug-utils" -version = "0.112.1" +version = "0.113.0" authors = ["Xuejie Xiao "] edition = "2021" description = "Utils for ckb-debugger" @@ -14,7 +14,7 @@ stdio = ["libc", "nix"] byteorder = "1" bytes = "1.0.0" ckb-vm = "=0.24.6" -ckb-gdb-remote-protocol = { path = "../ckb-gdb-remote-protocol", version="0.112.1" } +ckb-gdb-remote-protocol = { path = "../ckb-gdb-remote-protocol", version="0.113.0" } libc = { version = "0.2.47", optional = true } log = "0.4.0" nix = { version = "0.26.2", optional = true } diff --git a/ckb-vm-pprof-converter/Cargo.toml b/ckb-vm-pprof-converter/Cargo.toml index de38055..035cc44 100644 --- a/ckb-vm-pprof-converter/Cargo.toml +++ b/ckb-vm-pprof-converter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-vm-pprof-converter" -version = "0.112.1" +version = "0.113.0" edition = "2021" description = "Convert raw data generated by ckb-vm-pprof to proto format accepted by Google's pprof tool" license = "MIT" @@ -11,4 +11,4 @@ authors = ["Nervos Core Dev "] [dependencies] clap = { version = "4.0.27", features = ["cargo"] } protobuf = { version = "2.25.1", features = ["with-bytes", "with-serde"] } -ckb-vm-pprof-protos = { path = "../ckb-vm-pprof-protos", version = "0.112.1" } +ckb-vm-pprof-protos = { path = "../ckb-vm-pprof-protos", version = "0.113.0" } diff --git a/ckb-vm-pprof-protos/Cargo.toml b/ckb-vm-pprof-protos/Cargo.toml index 5dc45af..4df37f6 100644 --- a/ckb-vm-pprof-protos/Cargo.toml +++ b/ckb-vm-pprof-protos/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-vm-pprof-protos" -version = "0.112.1" +version = "0.113.0" edition = "2021" description = "Crate for generating Rust definitions from pprof proto" license = "MIT" diff --git a/ckb-vm-pprof/Cargo.toml b/ckb-vm-pprof/Cargo.toml index 5ebf881..ab23846 100644 --- a/ckb-vm-pprof/Cargo.toml +++ b/ckb-vm-pprof/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-vm-pprof" -version = "0.112.1" +version = "0.113.0" authors = ["mohanson "] edition = "2021" description = "Statistical CKB script cycles consumption flame graph" diff --git a/ckb-vm-signal-profiler/Cargo.toml b/ckb-vm-signal-profiler/Cargo.toml index 76a7849..f171e50 100644 --- a/ckb-vm-signal-profiler/Cargo.toml +++ b/ckb-vm-signal-profiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-vm-signal-profiler" -version = "0.112.1" +version = "0.113.0" edition = "2021" description = "Linux signal based profiler for ckb-vm, note this is profiling ckb-vm itself, not the programs running in ckb-vm" license = "MIT" @@ -18,4 +18,4 @@ log = "0.4.16" nix = "0.23.1" lazy_static = "1.4.0" protobuf = { version = "2.25.1", features = ["with-bytes", "with-serde"] } -ckb-vm-pprof-protos = { path = "../ckb-vm-pprof-protos", version="0.112.1" } +ckb-vm-pprof-protos = { path = "../ckb-vm-pprof-protos", version="0.113.0" }