diff --git a/Cargo.lock b/Cargo.lock index 9ae4f30..5b7d518 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -57,6 +57,12 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" +[[package]] +name = "arrayvec" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + [[package]] name = "async-trait" version = "0.1.68" @@ -165,6 +171,12 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0a5e3906bcbf133e33c1d4d95afc664ad37fbdb9f6568d8043e7ea8c27d93d3" +[[package]] +name = "byte-slice-cast" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" + [[package]] name = "byte-tools" version = "0.3.1" @@ -368,6 +380,12 @@ dependencies = [ "termcolor", ] +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "errno" version = "0.3.1" @@ -601,7 +619,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap", + "indexmap 1.9.3", "slab", "tokio", "tokio-util", @@ -629,6 +647,12 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +[[package]] +name = "hashbrown" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" + [[package]] name = "hermit-abi" version = "0.1.19" @@ -833,7 +857,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1be51a921b067b0eaca2fad532d9400041561aa922221cc65f95a85641c6bf53" dependencies = [ - "parity-scale-codec", + "parity-scale-codec 1.3.7", ] [[package]] @@ -847,6 +871,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "impl-trait-for-tuples" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "indexmap" version = "1.9.3" @@ -854,7 +889,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.12.3", +] + +[[package]] +name = "indexmap" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +dependencies = [ + "equivalent", + "hashbrown 0.14.0", ] [[package]] @@ -1233,18 +1278,42 @@ checksum = "a4b26b16c7687c3075982af47719e481815df30bc544f7a6690763a25ca16e9d" dependencies = [ "arrayvec 0.5.2", "bitvec", - "byte-slice-cast", - "parity-scale-codec-derive", + "byte-slice-cast 0.3.5", + "parity-scale-codec-derive 1.2.3", "serde", ] +[[package]] +name = "parity-scale-codec" +version = "3.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd8e946cc0cc711189c0b0249fb8b599cbeeab9784d83c415719368bb8d4ac64" +dependencies = [ + "arrayvec 0.7.4", + "byte-slice-cast 1.2.2", + "impl-trait-for-tuples 0.2.2", + "parity-scale-codec-derive 3.6.4", +] + [[package]] name = "parity-scale-codec-derive" version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c41512944b1faff334a5f1b9447611bf4ef40638ccb6328173dacefb338e878c" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 0.1.5", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "parity-scale-codec-derive" +version = "3.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e" +dependencies = [ + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -1257,7 +1326,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "297ff91fa36aec49ce183484b102f6b75b46776822bd81525bfc4cc9b0dd0f5c" dependencies = [ "cfg-if 0.1.10", - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.1.3", "parity-util-mem-derive", "primitive-types", "winapi 0.3.9", @@ -1324,11 +1393,21 @@ dependencies = [ "toml", ] +[[package]] +name = "proc-macro-crate" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +dependencies = [ + "once_cell", + "toml_edit", +] + [[package]] name = "proc-macro2" -version = "1.0.59" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" +checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" dependencies = [ "unicode-ident", ] @@ -1341,9 +1420,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quote" -version = "1.0.28" +version = "1.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" +checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" dependencies = [ "proc-macro2", ] @@ -1673,7 +1752,7 @@ version = "1.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" dependencies = [ - "indexmap", + "indexmap 1.9.3", "itoa", "ryu", "serde", @@ -1772,14 +1851,14 @@ dependencies = [ "hash256-std-hasher", "log", "num-traits", - "parity-scale-codec", + "parity-scale-codec 1.3.7", "parity-util-mem", "primitive-types", "secrecy", - "sp-debug-derive", + "sp-debug-derive 2.0.1", "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-std 2.0.1", + "sp-storage 2.0.1", "zeroize", ] @@ -1794,17 +1873,28 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "sp-debug-derive" +version = "8.1.0-dev1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5701d8c0abe73e4e9492cd15a4d97551c40c2875b72f7d7f169a0bee2f44c86e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.18", +] + [[package]] name = "sp-runtime-interface" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fb6574401a7b5c89111b417efecbc9f0c3d38c2c539ce3a964b8393769c3e15" dependencies = [ - "parity-scale-codec", + "parity-scale-codec 1.3.7", "primitive-types", "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", + "sp-std 2.0.1", + "sp-storage 2.0.1", "sp-tracing", "sp-wasm-interface", "static_assertions", @@ -1817,7 +1907,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d724b1feca629bf958dc0db0453225e59d9b2098fe5a47f86cd964cbc116d89d" dependencies = [ "Inflector", - "proc-macro-crate", + "proc-macro-crate 0.1.5", "proc-macro2", "quote", "syn 1.0.109", @@ -1829,16 +1919,34 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2585fb8f5f4fde53c2f9ccebac4517da4dc435373a8fcaf5db7f54b798da66c2" +[[package]] +name = "sp-std" +version = "8.1.0-dev1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81b03c1ef0a102f7d28cdda6030dc6a690f60c7604c6f8322c8d0a632b2b9f4" + [[package]] name = "sp-storage" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "781cc04c8d61c7bb1c269ca68d5d001fcaafbca8a21af46f87bf2e79a749c295" dependencies = [ - "parity-scale-codec", + "parity-scale-codec 1.3.7", "ref-cast", - "sp-debug-derive", - "sp-std", + "sp-debug-derive 2.0.1", + "sp-std 2.0.1", +] + +[[package]] +name = "sp-storage" +version = "13.1.0-dev.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1c0b3b327e616ee18d2364d17956d58e984119eaca3178fd5afb59f7e7f3c78" +dependencies = [ + "parity-scale-codec 3.6.4", + "ref-cast", + "sp-debug-derive 8.1.0-dev1", + "sp-std 8.1.0-dev1", ] [[package]] @@ -1847,8 +1955,8 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c574a06ac032f3c6fc29ae61ae1292546499342219c256098914f6110312f6f4" dependencies = [ - "parity-scale-codec", - "sp-std", + "parity-scale-codec 1.3.7", + "sp-std 2.0.1", "tracing", "tracing-core", ] @@ -1859,9 +1967,9 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "554daa08d61bb3bf2d81ac79b7ae089733339fc8fdc129dc21d074195f1219be" dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-std", + "impl-trait-for-tuples 0.1.3", + "parity-scale-codec 1.3.7", + "sp-std 2.0.1", ] [[package]] @@ -2051,6 +2159,23 @@ dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" + +[[package]] +name = "toml_edit" +version = "0.19.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" +dependencies = [ + "indexmap 2.0.0", + "toml_datetime", + "winnow", +] + [[package]] name = "tower-service" version = "0.3.2" @@ -2197,7 +2322,7 @@ dependencies = [ "js-sys", "libsecp256k1 0.3.5", "log", - "parity-scale-codec", + "parity-scale-codec 1.3.7", "rand 0.7.3", "regex", "reqwest", @@ -2208,8 +2333,8 @@ dependencies = [ "sha3", "sp-core", "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-std 2.0.1", + "sp-storage 13.1.0-dev.2", "thiserror", "tokio", "twox-hash", @@ -2594,6 +2719,15 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +[[package]] +name = "winnow" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25b5872fa2e10bd067ae946f927e726d7d603eaeb6e02fa6a350e0722d2b8c11" +dependencies = [ + "memchr", +] + [[package]] name = "winreg" version = "0.10.1" diff --git a/Cargo.toml b/Cargo.toml index 56a5a33..24ae848 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ sha3 = "0.8.2" sp-core = { version = "2.0.0-rc4", default-features = false } sp-runtime-interface = { version = "2.0.0-rc4", default-features = false, features = ["disable_target_static_assertions" ]} sp-std = { version = "2.0.0-rc4", default-features = false } -sp-storage = { version = "2.0.0-rc4", default-features = false } +sp-storage = { version = "13.1.0-dev.2", default-features = false } thiserror = { version = "1.0" } twox-hash = { version = "1.5.0" } vade = "0.1.0"