From 72818267157578ae7415c724ae37d4a3122c755b Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 27 Nov 2020 10:49:13 +0000 Subject: [PATCH 1/5] Bump versions --- Cargo.lock | 4 ++-- Cargo.toml | 6 +++--- metadata/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1d975a03..99633271 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -493,7 +493,7 @@ checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba" [[package]] name = "cargo-contract" -version = "0.7.1" +version = "0.8.0" dependencies = [ "anyhow", "assert_matches", @@ -660,7 +660,7 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "contract-metadata" -version = "0.1.0" +version = "0.2.0" dependencies = [ "pretty_assertions", "semver 0.10.0", diff --git a/Cargo.toml b/Cargo.toml index df3f6728..d2a3fc6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "metadata"] [package] name = "cargo-contract" -version = "0.7.1" +version = "0.8.0" authors = ["Parity Technologies "] build = "build.rs" edition = "2018" @@ -34,7 +34,7 @@ colored = "2.0.0" toml = "0.5.6" rustc_version = "0.2.3" blake2 = "0.9.0" -contract-metadata = { version = "0.1.0", path = "./metadata" } +contract-metadata = { version = "0.2.0", path = "./metadata" } semver = { version = "0.10.0", features = ["serde"] } serde = { version = "1.0.115", default-features = false, features = ["derive"] } serde_json = "1.0.57" @@ -44,7 +44,7 @@ binaryen = "0.10.0" # dependencies for optional extrinsics feature async-std = { version = "1.6.2", optional = true } -sp-core = { version = "2.0.0-rc5", optional = true } +sp-core = { version = "2.0.0", optional = true } subxt = { version = "0.11.0", package = "substrate-subxt", optional = true } futures = { version = "0.3.5", optional = true } hex = { version = "0.4.2", optional = true } diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index 36950c74..a282170f 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-metadata" -version = "0.1.0" +version = "0.2.0" authors = ["Parity Technologies "] edition = "2018" -- GitLab From 9108621c18af8fe090a29a833f25f22b9290567b Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 27 Nov 2020 11:08:38 +0000 Subject: [PATCH 2/5] Upgrade dependencies --- Cargo.lock | 1000 +++++++++++++++++++++++++++++++++++-------- Cargo.toml | 42 +- metadata/Cargo.toml | 8 +- 3 files changed, 851 insertions(+), 199 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 99633271..8aeb8f6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -49,6 +49,17 @@ dependencies = [ "memchr", ] +[[package]] +name = "alga" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f823d037a7ec6ea2197046bafd4ae150e6bc36f9ca347404f46a46823fa84f2" +dependencies = [ + "approx", + "num-complex", + "num-traits", +] + [[package]] name = "ansi_term" version = "0.11.0" @@ -69,9 +80,18 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.33" +version = "1.0.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf8dcb5b4bbaa28653b647d8c77bd4ed40183b48882e130c1f1ffb73de069fd7" + +[[package]] +name = "approx" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1fd36ffbb1fb7c834eac128ea8d0e310c5aeb635548f9d58861e1308d46e71c" +checksum = "f0e60b75072ecd4168020818c0107f2857bb6c4e64252d8d3983f6263b40a5c3" +dependencies = [ + "num-traits", +] [[package]] name = "arrayref" @@ -146,9 +166,9 @@ dependencies = [ [[package]] name = "async-global-executor" -version = "1.3.0" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fefeb39da249f4c33af940b779a56723ce45809ef5c54dad84bb538d4ffb6d9e" +checksum = "73079b49cd26b8fd5a15f68fc7707fc78698dc2a3d61430f2a7a9430230dfa04" dependencies = [ "async-executor", "async-io", @@ -188,9 +208,9 @@ dependencies = [ [[package]] name = "async-std" -version = "1.6.5" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9fa76751505e8df1c7a77762f60486f60c71bbd9b8557f4da6ad47d083732ed" +checksum = "a7e82538bc65a25dbdff70e4c5439d52f068048ab97cdea0acd73f131594caa1" dependencies = [ "async-global-executor", "async-io", @@ -225,7 +245,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ce6977f57fa68da77ffe5542950d47e9c23d65f5bc7cb0a9f8700996913eec7" dependencies = [ - "futures 0.3.6", + "futures 0.3.8", "rustls", "webpki", "webpki-roots", @@ -303,18 +323,18 @@ checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" [[package]] name = "binaryen" -version = "0.10.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a51ad23b3c7ab468d9daa948201921879ef0052e561c250fd0b326e6f000f2dd" +checksum = "1a9b407f52d0b918c6ea41d7a328321496b315f61da99a309b375dfbbd04bc9a" dependencies = [ "binaryen-sys", ] [[package]] name = "binaryen-sys" -version = "0.10.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df5829a7c89f7827e58866704e4dfdf48a635d73c6e5449c1a8a0ba5a319d28a" +checksum = "86e9636d01b92f2df45dce29c35a9e3724687c1055bb4472fb4b829cc4a5a561" dependencies = [ "cc", "cmake", @@ -346,15 +366,13 @@ dependencies = [ [[package]] name = "blake2" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84ce5b6108f8e154604bd4eb76a2f726066c3464d5a552a4229262a18c9bb471" +checksum = "10a5720225ef5daecf08657f23791354e1685a8c91a4c60c7f3d3b2892f978f4" dependencies = [ - "byte-tools", - "byteorder", "crypto-mac 0.8.0", "digest 0.9.0", - "opaque-debug 0.2.3", + "opaque-debug 0.3.0", ] [[package]] @@ -504,7 +522,7 @@ dependencies = [ "colored", "contract-metadata", "env_logger", - "futures 0.3.6", + "futures 0.3.8", "heck", "hex", "log", @@ -512,8 +530,8 @@ dependencies = [ "parity-wasm", "pretty_assertions", "pwasm-utils", - "rustc_version", - "semver 0.10.0", + "rustc_version 0.3.0", + "semver 0.11.0", "serde", "serde_json", "sp-core", @@ -521,7 +539,7 @@ dependencies = [ "substrate-subxt", "tempfile", "toml", - "url 2.1.1", + "url 2.2.0", "wabt", "walkdir", "which 4.0.2", @@ -530,11 +548,12 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.11.4" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3a567c24b86754d629addc2db89e340ac9398d07b5875efcff837e3878e17ec" +checksum = "83f95cf4bf0dda0ac2e65371ae7215d0dce3c187613a9dbf23aaa9374186f97a" dependencies = [ - "semver 0.10.0", + "semver 0.11.0", + "semver-parser 0.10.0", "serde", "serde_json", ] @@ -663,10 +682,10 @@ name = "contract-metadata" version = "0.2.0" dependencies = [ "pretty_assertions", - "semver 0.10.0", + "semver 0.11.0", "serde", "serde_json", - "url 2.1.1", + "url 2.2.0", ] [[package]] @@ -686,12 +705,12 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.7.2" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" +checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d" dependencies = [ "autocfg 1.0.1", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "lazy_static", ] @@ -739,7 +758,7 @@ checksum = "5d85653f070353a16313d0046f173f70d1aadd5b42600a14de626f0dfb3473a5" dependencies = [ "byteorder", "digest 0.8.1", - "rand_core", + "rand_core 0.5.1", "subtle 2.3.0", "zeroize", ] @@ -752,7 +771,7 @@ checksum = "c8492de420e9e60bc9a1d66e2dbb91825390b738a388606600663fc529b4b307" dependencies = [ "byteorder", "digest 0.9.0", - "rand_core", + "rand_core 0.5.1", "subtle 2.3.0", "zeroize", ] @@ -842,7 +861,7 @@ checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek 3.0.0", "ed25519", - "rand", + "rand 0.7.3", "serde", "sha2 0.9.1", "zeroize", @@ -856,9 +875,9 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "env_logger" -version = "0.7.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" +checksum = "f26ecb66b4bdca6c1409b40fb255eefc2bd4f6d135dab3c3124f80ffa2a9661e" dependencies = [ "atty", "humantime", @@ -916,6 +935,21 @@ dependencies = [ "instant", ] +[[package]] +name = "finality-grandpa" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8feb87a63249689640ac9c011742c33139204e3c134293d3054022276869133b" +dependencies = [ + "either", + "futures 0.3.8", + "futures-timer 2.0.2", + "log", + "num-traits", + "parity-scale-codec", + "parking_lot 0.9.0", +] + [[package]] name = "fixed-hash" version = "0.6.1" @@ -923,7 +957,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11498d382790b7a8f2fd211780bec78619bba81cdad3a283997c0c41f836759c" dependencies = [ "byteorder", - "rand", + "rand 0.7.3", "rustc-hex", "static_assertions", ] @@ -941,15 +975,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] -name = "frame-metadata" -version = "11.0.0-rc6" +name = "form_urlencoded" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00" +dependencies = [ + "matches", + "percent-encoding 2.1.0", +] + +[[package]] +name = "frame-benchmarking" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69b82bf25442501c9455fc60090d606e5a36cc6e6953a7afee87fcab4fe2865b" +checksum = "66a5e3fe43568300fdca1c1bfd45ea463a12cca8fbe6172a4f6d58cd54e3fbcc" dependencies = [ + "frame-support", + "frame-system", + "linregress", "parity-scale-codec", - "serde", - "sp-core", + "paste", + "sp-api", + "sp-io", + "sp-runtime", + "sp-runtime-interface", "sp-std", + "sp-storage", ] [[package]] @@ -971,7 +1022,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "807c32da14bd0e5fb751095335a07938cda6f1488f57d7b0539118e3434980a8" dependencies = [ "bitmask", - "frame-metadata 12.0.0", + "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", "log", @@ -979,7 +1030,7 @@ dependencies = [ "parity-scale-codec", "paste", "serde", - "smallvec", + "smallvec 1.4.2", "sp-arithmetic", "sp-core", "sp-inherents", @@ -1043,6 +1094,12 @@ dependencies = [ "sp-version", ] +[[package]] +name = "fuchsia-cprng" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" + [[package]] name = "fuchsia-zircon" version = "0.3.3" @@ -1067,9 +1124,9 @@ checksum = "4c7e4c2612746b0df8fed4ce0c69156021b704c9aefa360311c04e6e9e002eed" [[package]] name = "futures" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8e3078b7b2a8a671cb7a3d17b4760e4181ea243227776ba83fd043b4ca034e" +checksum = "9b3b0c040a1fe6529d30b3c5944b280c7f0dcb2930d2c3062bca967b602583d0" dependencies = [ "futures-channel", "futures-core", @@ -1082,9 +1139,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a4d35f7401e948629c9c3d6638fb9bf94e0b2121e96c3b428cc4e631f3eb74" +checksum = "4b7109687aa4e177ef6fe84553af6280ef2778bdb7783ba44c9dc3399110fe64" dependencies = [ "futures-core", "futures-sink", @@ -1092,15 +1149,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d674eaa0056896d5ada519900dbf97ead2e46a7b6621e8160d79e2f2e1e2784b" +checksum = "847ce131b72ffb13b6109a221da9ad97a64cbe48feb1028356b836b47b8f1748" [[package]] name = "futures-executor" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc709ca1da6f66143b8c9bec8e6260181869893714e9b5a490b169b0414144ab" +checksum = "4caa2b2b68b880003057c1dd49f1ed937e38f22fcf6c212188a121f08cf40a65" dependencies = [ "futures-core", "futures-task", @@ -1110,9 +1167,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc94b64bb39543b4e432f1790b6bf18e3ee3b74653c5449f63310e9a74b123c" +checksum = "611834ce18aaa1bd13c4b374f5d653e1027cf99b6b502584ff8c9a64413b30bb" [[package]] name = "futures-lite" @@ -1131,9 +1188,9 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f57ed14da4603b2554682e9f2ff3c65d7567b53188db96cb71538217fc64581b" +checksum = "77408a692f1f97bcc61dc001d752e00643408fbc922e4d634c655df50d595556" dependencies = [ "proc-macro-hack", "proc-macro2", @@ -1143,19 +1200,25 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d8764258ed64ebc5d9ed185cf86a95db5cac810269c5d20ececb32e0088abbd" +checksum = "f878195a49cee50e006b02b93cf7e0a95a38ac7b776b4c4d9cc1207cd20fcb3d" [[package]] name = "futures-task" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd26820a9f3637f1302da8bceba3ff33adbe53464b54ca24d4e2d4f1db30f94" +checksum = "7c554eb5bf48b2426c4771ab68c6b14468b6e76cc90996f528c3338d761a4d0d" dependencies = [ "once_cell", ] +[[package]] +name = "futures-timer" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1de7508b218029b0f01662ed8f61b1c964b3ae99d6f25462d0f55a595109df6" + [[package]] name = "futures-timer" version = "3.0.2" @@ -1164,9 +1227,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a894a0acddba51a2d49a6f4263b1e64b8c579ece8af50fa86503d52cd1eea34" +checksum = "d304cff4a7b99cfb7986f7d43fbe93d175e72e704a8860787cc95e9ffd85cbd2" dependencies = [ "futures 0.1.30", "futures-channel", @@ -1176,7 +1239,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project", + "pin-project 1.0.2", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -1412,12 +1475,9 @@ checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" [[package]] name = "humantime" -version = "1.3.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" -dependencies = [ - "quick-error", -] +checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" [[package]] name = "hyper" @@ -1435,7 +1495,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project", + "pin-project 0.4.27", "socket2", "tokio", "tower-service", @@ -1614,7 +1674,7 @@ dependencies = [ "jsonrpc-core", "log", "parking_lot 0.10.2", - "rand", + "rand 0.7.3", "serde", ] @@ -1629,8 +1689,8 @@ dependencies = [ "bs58", "bytes", "fnv", - "futures 0.3.6", - "futures-timer", + "futures 0.3.8", + "futures-timer 3.0.2", "globset", "hashbrown 0.7.2", "hyper", @@ -1638,16 +1698,16 @@ dependencies = [ "lazy_static", "log", "parking_lot 0.10.2", - "pin-project", - "rand", + "pin-project 0.4.27", + "rand 0.7.3", "serde", "serde_json", - "smallvec", + "smallvec 1.4.2", "soketto", "thiserror", "tokio", "unicase", - "url 2.1.1", + "url 2.2.0", "webpki", ] @@ -1695,7 +1755,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0315ef2f688e33844400b31f11c263f2b3dc21d8b9355c6891c5f185fae43f9a" dependencies = [ "parity-util-mem", - "smallvec", + "smallvec 1.4.2", ] [[package]] @@ -1710,6 +1770,12 @@ version = "0.2.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743" +[[package]] +name = "libm" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" + [[package]] name = "libp2p" version = "0.28.1" @@ -1718,7 +1784,7 @@ checksum = "571f5a4604c1a40d75651da141dfde29ad15329f537a779528803297d2220274" dependencies = [ "atomic", "bytes", - "futures 0.3.6", + "futures 0.3.8", "lazy_static", "libp2p-core", "libp2p-core-derive", @@ -1726,8 +1792,8 @@ dependencies = [ "multihash", "parity-multiaddr", "parking_lot 0.10.2", - "pin-project", - "smallvec", + "pin-project 0.4.27", + "smallvec 1.4.2", "wasm-timer", ] @@ -1742,8 +1808,8 @@ dependencies = [ "ed25519-dalek", "either", "fnv", - "futures 0.3.6", - "futures-timer", + "futures 0.3.8", + "futures-timer 3.0.2", "lazy_static", "libsecp256k1", "log", @@ -1751,14 +1817,14 @@ dependencies = [ "multistream-select", "parity-multiaddr", "parking_lot 0.10.2", - "pin-project", + "pin-project 0.4.27", "prost", "prost-build", - "rand", + "rand 0.7.3", "ring", "rw-stream-sink", "sha2 0.8.2", - "smallvec", + "smallvec 1.4.2", "thiserror", "unsigned-varint 0.4.0", "void", @@ -1782,11 +1848,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7193e444210132237b81b755ec7fe53f1c4bd2f53cf719729b94c0c72eb6eaa1" dependencies = [ "either", - "futures 0.3.6", + "futures 0.3.8", "libp2p-core", "log", - "rand", - "smallvec", + "rand 0.7.3", + "smallvec 1.4.2", "void", "wasm-timer", ] @@ -1801,12 +1867,23 @@ dependencies = [ "crunchy", "digest 0.8.1", "hmac-drbg", - "rand", + "rand 0.7.3", "sha2 0.8.2", "subtle 2.3.0", "typenum", ] +[[package]] +name = "linregress" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9290cf6f928576eeb9c096c6fad9d8d452a0a1a70a2bbffa6e36064eedc0aac9" +dependencies = [ + "failure", + "nalgebra", + "statrs", +] + [[package]] name = "lock_api" version = "0.3.4" @@ -1843,6 +1920,12 @@ dependencies = [ "hashbrown 0.6.3", ] +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + [[package]] name = "matchers" version = "0.0.1" @@ -1858,6 +1941,21 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" +[[package]] +name = "matrixmultiply" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4f7ec66360130972f34830bfad9ef05c6610a43938a467bcc9ab9369ab3478f" +dependencies = [ + "rawpointer", +] + +[[package]] +name = "maybe-uninit" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" + [[package]] name = "memchr" version = "2.3.3" @@ -1889,7 +1987,7 @@ checksum = "c6feca46f4fa3443a01769d768727f10c10a20fdb65e52dc16a81f0c8269bb78" dependencies = [ "byteorder", "keccak", - "rand_core", + "rand_core 0.5.1", "zeroize", ] @@ -1943,7 +2041,7 @@ dependencies = [ "blake2b_simd", "blake2s_simd", "digest 0.9.0", - "sha-1", + "sha-1 0.9.1", "sha2 0.9.1", "sha3", "unsigned-varint 0.5.1", @@ -1962,13 +2060,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9157e87afbc2ef0d84cc0345423d715f445edde00141c93721c162de35a05e5" dependencies = [ "bytes", - "futures 0.3.6", + "futures 0.3.8", "log", - "pin-project", - "smallvec", + "pin-project 0.4.27", + "smallvec 1.4.2", "unsigned-varint 0.4.0", ] +[[package]] +name = "nalgebra" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaa9fddbc34c8c35dd2108515587b8ce0cab396f17977b8c738568e4edb521a2" +dependencies = [ + "alga", + "approx", + "generic-array 0.12.3", + "matrixmultiply", + "num-complex", + "num-rational", + "num-traits", + "rand 0.6.5", + "typenum", +] + [[package]] name = "nb-connect" version = "1.0.2" @@ -2007,6 +2122,16 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-complex" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95" +dependencies = [ + "autocfg 1.0.1", + "num-traits", +] + [[package]] name = "num-integer" version = "0.1.43" @@ -2036,6 +2161,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611" dependencies = [ "autocfg 1.0.1", + "libm", ] [[package]] @@ -2084,6 +2210,42 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "pallet-authorship" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65706c382ae14ef2768e7411c5faaf1e0a310b4a86d17c3a93dfacb2c5987576" +dependencies = [ + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-authorship", + "sp-inherents", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-im-online" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a29b883f805fa2330742b5d99263eab68583e009be1a2420efab1c3237a08e5" +dependencies = [ + "frame-support", + "frame-system", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "serde", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", +] + [[package]] name = "pallet-indices" version = "2.0.0" @@ -2101,6 +2263,66 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-session" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8abf520fc0c3259be05f164d43d34d52c86aeef8e8c5fded40145394394fc75d" +dependencies = [ + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "pallet-timestamp", + "parity-scale-codec", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-trie", +] + +[[package]] +name = "pallet-staking" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d296b36c5c32d1e480de15d0bf08460bb6d8e1771d928a6017e88a6a1de6bf7" +dependencies = [ + "frame-support", + "frame-system", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "serde", + "sp-application-crypto", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-staking", + "sp-std", + "static_assertions", +] + +[[package]] +name = "pallet-timestamp" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccddd55b713f541dff6ccf063cc7ddbc4fc41e92a9fdad8ec9562a0e3b465016" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "parity-scale-codec", + "serde", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-timestamp", +] + [[package]] name = "parity-multiaddr" version = "0.9.2" @@ -2116,7 +2338,7 @@ dependencies = [ "serde", "static_assertions", "unsigned-varint 0.4.0", - "url 2.1.1", + "url 2.2.0", ] [[package]] @@ -2182,6 +2404,17 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" +[[package]] +name = "parking_lot" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" +dependencies = [ + "lock_api 0.3.4", + "parking_lot_core 0.6.2", + "rustc_version 0.2.3", +] + [[package]] name = "parking_lot" version = "0.10.2" @@ -2203,6 +2436,21 @@ dependencies = [ "parking_lot_core 0.8.0", ] +[[package]] +name = "parking_lot_core" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" +dependencies = [ + "cfg-if 0.1.10", + "cloudabi 0.0.3", + "libc", + "redox_syscall", + "rustc_version 0.2.3", + "smallvec 0.6.13", + "winapi 0.3.9", +] + [[package]] name = "parking_lot_core" version = "0.7.2" @@ -2213,7 +2461,7 @@ dependencies = [ "cloudabi 0.0.3", "libc", "redox_syscall", - "smallvec", + "smallvec 1.4.2", "winapi 0.3.9", ] @@ -2228,7 +2476,7 @@ dependencies = [ "instant", "libc", "redox_syscall", - "smallvec", + "smallvec 1.4.2", "winapi 0.3.9", ] @@ -2274,51 +2522,114 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] -name = "petgraph" -version = "0.5.1" +name = "pest" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" +checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" dependencies = [ - "fixedbitset", - "indexmap", + "ucd-trie", ] [[package]] -name = "pin-project" -version = "0.4.27" +name = "pest_derive" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15" +checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0" dependencies = [ - "pin-project-internal", + "pest", + "pest_generator", ] [[package]] -name = "pin-project-internal" -version = "0.4.27" +name = "pest_generator" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895" +checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55" dependencies = [ + "pest", + "pest_meta", "proc-macro2", "quote", "syn", ] [[package]] -name = "pin-project-lite" -version = "0.1.10" +name = "pest_meta" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e555d9e657502182ac97b539fb3dae8b79cda19e3e4f8ffb5e8de4f18df93c95" +checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d" +dependencies = [ + "maplit", + "pest", + "sha-1 0.8.2", +] [[package]] -name = "pin-utils" -version = "0.1.0" +name = "petgraph" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" +dependencies = [ + "fixedbitset", + "indexmap", +] [[package]] -name = "polling" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" +name = "pin-project" +version = "0.4.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15" +dependencies = [ + "pin-project-internal 0.4.27", +] + +[[package]] +name = "pin-project" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ccc2237c2c489783abd8c4c80e5450fc0e98644555b1364da68cc29aa151ca7" +dependencies = [ + "pin-project-internal 1.0.2", +] + +[[package]] +name = "pin-project-internal" +version = "0.4.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-internal" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8e8d2bf0b23038a4424865103a4df472855692821aab4e4f5c3312d461d9e5f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e555d9e657502182ac97b539fb3dae8b79cda19e3e4f8ffb5e8de4f18df93c95" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "polling" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab773feb154f12c49ffcfd66ab8bdcf9a1843f950db48b0d8be9d4393783b058" dependencies = [ "cfg-if 0.1.10", @@ -2393,9 +2704,9 @@ dependencies = [ [[package]] name = "proc-macro-hack" -version = "0.5.18" +version = "0.5.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99c605b9a0adc77b7211c6b1f722dcb613d68d66859a44f3d485a6da332b0598" +checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" [[package]] name = "proc-macro-nested" @@ -2479,21 +2790,15 @@ dependencies = [ [[package]] name = "pwasm-utils" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f53bc2558e8376358ebdc28301546471d67336584f6438ed4b7c7457a055fd7" +checksum = "1c8ac87af529432d3a4f0e2b3bbf08af49f28f09cc73ed7e551161bdaef5f78d" dependencies = [ "byteorder", "log", "parity-wasm", ] -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - [[package]] name = "quote" version = "1.0.7" @@ -2509,6 +2814,38 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac" +[[package]] +name = "rand" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c618c47cd3ebd209790115ab837de41425723956ad3ce2e6a7f09890947cacb9" +dependencies = [ + "cloudabi 0.0.3", + "fuchsia-cprng", + "libc", + "rand_core 0.3.1", + "winapi 0.3.9", +] + +[[package]] +name = "rand" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" +dependencies = [ + "autocfg 0.1.7", + "libc", + "rand_chacha 0.1.1", + "rand_core 0.4.2", + "rand_hc 0.1.0", + "rand_isaac", + "rand_jitter", + "rand_os", + "rand_pcg 0.1.2", + "rand_xorshift", + "winapi 0.3.9", +] + [[package]] name = "rand" version = "0.7.3" @@ -2517,10 +2854,20 @@ checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ "getrandom 0.1.15", "libc", - "rand_chacha", - "rand_core", - "rand_hc", - "rand_pcg", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc 0.2.0", + "rand_pcg 0.2.1", +] + +[[package]] +name = "rand_chacha" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef" +dependencies = [ + "autocfg 0.1.7", + "rand_core 0.3.1", ] [[package]] @@ -2530,9 +2877,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_core" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" +dependencies = [ + "rand_core 0.4.2", ] +[[package]] +name = "rand_core" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" + [[package]] name = "rand_core" version = "0.5.1" @@ -2542,13 +2904,66 @@ dependencies = [ "getrandom 0.1.15", ] +[[package]] +name = "rand_hc" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4" +dependencies = [ + "rand_core 0.3.1", +] + [[package]] name = "rand_hc" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" dependencies = [ - "rand_core", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_isaac" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08" +dependencies = [ + "rand_core 0.3.1", +] + +[[package]] +name = "rand_jitter" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b" +dependencies = [ + "libc", + "rand_core 0.4.2", + "winapi 0.3.9", +] + +[[package]] +name = "rand_os" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071" +dependencies = [ + "cloudabi 0.0.3", + "fuchsia-cprng", + "libc", + "rand_core 0.4.2", + "rdrand", + "winapi 0.3.9", +] + +[[package]] +name = "rand_pcg" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44" +dependencies = [ + "autocfg 0.1.7", + "rand_core 0.4.2", ] [[package]] @@ -2557,7 +2972,31 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" dependencies = [ - "rand_core", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_xorshift" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" +dependencies = [ + "rand_core 0.3.1", +] + +[[package]] +name = "rawpointer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" + +[[package]] +name = "rdrand" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" +dependencies = [ + "rand_core 0.3.1", ] [[package]] @@ -2665,6 +3104,15 @@ dependencies = [ "semver 0.9.0", ] +[[package]] +name = "rustc_version" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c94201b44764d6d1f7e37c15a8289ed55e546c1762c7f1d57f616966e0c181" +dependencies = [ + "semver 0.11.0", +] + [[package]] name = "rustls" version = "0.16.0" @@ -2684,8 +3132,8 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" dependencies = [ - "futures 0.3.6", - "pin-project", + "futures 0.3.8", + "pin-project 0.4.27", "static_assertions", ] @@ -2711,7 +3159,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfb4b79b9b6b410c745a00eb4ead11b2ef0819e6eac970a5ec6415abf82777be" dependencies = [ "derive_more", - "futures 0.3.6", + "futures 0.3.8", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -2740,8 +3188,8 @@ dependencies = [ "curve25519-dalek 2.1.0", "getrandom 0.1.15", "merlin", - "rand", - "rand_core", + "rand 0.7.3", + "rand_core 0.5.1", "sha2 0.8.2", "subtle 2.3.0", "zeroize", @@ -2778,16 +3226,16 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" dependencies = [ - "semver-parser", + "semver-parser 0.7.0", ] [[package]] name = "semver" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "394cec28fa623e00903caf7ba4fa6fb9a0e260280bb8cdbbba029611108a0190" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" dependencies = [ - "semver-parser", + "semver-parser 0.10.0", "serde", ] @@ -2797,20 +3245,30 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +[[package]] +name = "semver-parser" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e012c6c5380fb91897ba7b9261a0f565e624e869d42fe1a1d03fa0d68a083d5" +dependencies = [ + "pest", + "pest_derive", +] + [[package]] name = "serde" -version = "1.0.116" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96fe57af81d28386a513cbc6858332abc6117cfdb5999647c6444b8f43a370a5" +checksum = "b88fa983de7720629c9387e9f517353ed404164b1e482c970a90c1a4aaf7dc1a" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.116" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f630a6370fd8e457873b4bd2ffdae75408bc291ba72be773772a4c2a065d9ae8" +checksum = "cbd1ae72adb44aab48f325a02444a5fc079349a8d804c1fc922aed3f7454c74e" dependencies = [ "proc-macro2", "quote", @@ -2828,6 +3286,18 @@ dependencies = [ "serde", ] +[[package]] +name = "sha-1" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df" +dependencies = [ + "block-buffer 0.7.3", + "digest 0.8.1", + "fake-simd", + "opaque-debug 0.2.3", +] + [[package]] name = "sha-1" version = "0.9.1" @@ -2905,6 +3375,15 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" +[[package]] +name = "smallvec" +version = "0.6.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6" +dependencies = [ + "maybe-uninit", +] + [[package]] name = "smallvec" version = "1.4.2" @@ -2931,13 +3410,13 @@ checksum = "1c9dab3f95c9ebdf3a88268c19af668f637a3c5039c2c56ff2d40b1b2d64a25b" dependencies = [ "base64 0.11.0", "bytes", - "futures 0.3.6", + "futures 0.3.8", "http", "httparse", "log", - "rand", + "rand 0.7.3", "sha1", - "smallvec", + "smallvec 1.4.2", "static_assertions", "thiserror", ] @@ -2998,6 +3477,31 @@ dependencies = [ "sp-std", ] +[[package]] +name = "sp-authority-discovery" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b7748c0e859bf4c3dda84849a72af83c9f85bb21a7b7c085ed161516fa00d1e" +dependencies = [ + "parity-scale-codec", + "sp-api", + "sp-application-crypto", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "sp-authorship" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58623adee1ed41752d76151762c80801758f88f85e4016d0338f2b01f4e7bd44" +dependencies = [ + "parity-scale-codec", + "sp-inherents", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-block-builder" version = "2.0.0" @@ -3046,8 +3550,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b460103293bbf2f4193e43c4f031fdc099c5e27c782369bbb4dacc7765e84057" dependencies = [ "derive_more", - "futures 0.3.6", - "futures-timer", + "futures 0.3.8", + "futures-timer 3.0.2", "libp2p", "log", "parity-scale-codec", @@ -3066,6 +3570,49 @@ dependencies = [ "wasm-timer", ] +[[package]] +name = "sp-consensus-babe" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8050a73302f354f45d0dee610e69ed39aadf43ab8a7528bdf3df8427276dc739" +dependencies = [ + "merlin", + "parity-scale-codec", + "sp-api", + "sp-application-crypto", + "sp-consensus", + "sp-consensus-slots", + "sp-consensus-vrf", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-timestamp", +] + +[[package]] +name = "sp-consensus-slots" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83ea323ccf4ec8aad353fbc9016a1cb8cbf0d872d33bc8874cb0753b014fb7fc" +dependencies = [ + "parity-scale-codec", + "sp-runtime", +] + +[[package]] +name = "sp-consensus-vrf" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3345ee42ea5319bd6e3329bc3b5ee68b09f14d677378b27409a3a52d5ebe9990" +dependencies = [ + "parity-scale-codec", + "schnorrkel", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-core" version = "2.0.0" @@ -3078,7 +3625,7 @@ dependencies = [ "derive_more", "dyn-clonable", "ed25519-dalek", - "futures 0.3.6", + "futures 0.3.8", "hash-db", "hash256-std-hasher", "hex", @@ -3092,7 +3639,7 @@ dependencies = [ "parity-util-mem", "parking_lot 0.10.2", "primitive-types", - "rand", + "rand 0.7.3", "regex", "schnorrkel", "secrecy", @@ -3144,6 +3691,23 @@ dependencies = [ "sp-storage", ] +[[package]] +name = "sp-finality-grandpa" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "789d960506306f34fb0a2da547956ba1f23d6a29032291a7284c943906feddcb" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-inherents" version = "2.0.0" @@ -3163,7 +3727,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9e1dee9244eb6cba1bef9b3a4ec288185e1380e455f1fd348b60252592c1cf0" dependencies = [ - "futures 0.3.6", + "futures 0.3.8", "hash-db", "libsecp256k1", "log", @@ -3193,6 +3757,31 @@ dependencies = [ "strum", ] +[[package]] +name = "sp-npos-elections" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54bb6d3d49dccf6ee26586a29ce8aabade8e102e51ed5009660ef7abb973eb7d" +dependencies = [ + "parity-scale-codec", + "serde", + "sp-arithmetic", + "sp-npos-elections-compact", + "sp-std", +] + +[[package]] +name = "sp-npos-elections-compact" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d784c5576824b0ffa4cb359b7eebfd87511c49685b170b8214aabaa5f2454c87" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "sp-panic-handler" version = "2.0.0" @@ -3226,7 +3815,7 @@ dependencies = [ "parity-scale-codec", "parity-util-mem", "paste", - "rand", + "rand 0.7.3", "serde", "sp-application-crypto", "sp-arithmetic", @@ -3266,6 +3855,31 @@ dependencies = [ "syn", ] +[[package]] +name = "sp-session" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d138b1f548933003feaa967de49ed87066643073bcc41be45ef2daaa0991c133" +dependencies = [ + "parity-scale-codec", + "sp-api", + "sp-core", + "sp-runtime", + "sp-staking", + "sp-std", +] + +[[package]] +name = "sp-staking" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b06f9839d8b4312486626bde31d6cd7763dd9b7d93ea9e70c01ca30f0998032" +dependencies = [ + "parity-scale-codec", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-state-machine" version = "0.8.0" @@ -3277,8 +3891,8 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.10.2", - "rand", - "smallvec", + "rand 0.7.3", + "smallvec 1.4.2", "sp-core", "sp-externalities", "sp-panic-handler", @@ -3308,6 +3922,21 @@ dependencies = [ "sp-std", ] +[[package]] +name = "sp-timestamp" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cb398f0a5d2798ad4e02450b3089534547b448d22ebe6f3b2c03f74170f58d1" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-api", + "sp-inherents", + "sp-runtime", + "sp-std", + "wasm-timer", +] + [[package]] name = "sp-tracing" version = "2.0.0" @@ -3329,7 +3958,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83b34ee48341c17c6e2f1e55f6076918f46b0c4505a99ad69ab1edda8b45bbd8" dependencies = [ "derive_more", - "futures 0.3.6", + "futures 0.3.8", "log", "parity-scale-codec", "serde", @@ -3359,9 +3988,9 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84310a02e2ac89b5e288d7af980414fd88753e3caba92aab1983cd2819991150" dependencies = [ - "futures 0.3.6", + "futures 0.3.8", "futures-core", - "futures-timer", + "futures-timer 3.0.2", "lazy_static", "prometheus", ] @@ -3403,6 +4032,15 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +[[package]] +name = "statrs" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10102ac8d55e35db2b3fafc26f81ba8647da2e15879ab686a67e6d19af2685e8" +dependencies = [ + "rand 0.5.6", +] + [[package]] name = "strsim" version = "0.8.0" @@ -3484,37 +4122,44 @@ dependencies = [ [[package]] name = "substrate-subxt" -version = "0.11.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94cc064acf915e8411b74261e6cd6d28b56709a5bbbb7f5fdf5dd55c650210d1" +checksum = "ed693047c3c907a660aa97a71a30af33cec878316d75df60967d73b673ff4fd3" dependencies = [ - "frame-metadata 11.0.0-rc6", + "frame-metadata", "frame-support", - "futures 0.3.6", + "futures 0.3.8", "hex", "jsonrpsee", "log", "num-traits", + "pallet-im-online", "pallet-indices", + "pallet-staking", "parity-scale-codec", "sc-rpc-api", "serde", "serde_json", + "sp-application-crypto", + "sp-authority-discovery", + "sp-consensus-babe", "sp-core", + "sp-finality-grandpa", "sp-rpc", "sp-runtime", + "sp-std", "sp-transaction-pool", "sp-version", "substrate-subxt-proc-macro", "thiserror", - "url 2.1.1", + "url 2.2.0", ] [[package]] name = "substrate-subxt-proc-macro" -version = "0.11.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd823af41d4d29069613987caf17c52610e505058788fa1c434821528c191db8" +checksum = "74975f373430ec447afaeb2925f2bac77e113733b08263f4df75e0a0e5998090" dependencies = [ "heck", "proc-macro-crate", @@ -3568,7 +4213,7 @@ checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" dependencies = [ "cfg-if 0.1.10", "libc", - "rand", + "rand 0.7.3", "redox_syscall", "remove_dir_all", "winapi 0.3.9", @@ -3642,7 +4287,7 @@ dependencies = [ "hmac", "once_cell", "pbkdf2", - "rand", + "rand 0.7.3", "rustc-hash", "sha2 0.8.2", "unicode-normalization", @@ -3777,7 +4422,7 @@ dependencies = [ "serde", "serde_json", "sharded-slab", - "smallvec", + "smallvec 1.4.2", "thread_local", "tracing", "tracing-core", @@ -3795,7 +4440,7 @@ dependencies = [ "hashbrown 0.8.2", "log", "rustc-hex", - "smallvec", + "smallvec 1.4.2", ] [[package]] @@ -3819,7 +4464,7 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3bfd5b7557925ce778ff9b9ef90e3ade34c524b5ff10e239c69a42d546d2af56" dependencies = [ - "rand", + "rand 0.7.3", ] [[package]] @@ -3828,6 +4473,12 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" +[[package]] +name = "ucd-trie" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" + [[package]] name = "uint" version = "0.8.5" @@ -3916,10 +4567,11 @@ dependencies = [ [[package]] name = "url" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb" +checksum = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e" dependencies = [ + "form_urlencoded", "idna 0.2.0", "matches", "percent-encoding 2.1.0", @@ -4084,7 +4736,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.6", + "futures 0.3.8", "js-sys", "parking_lot 0.11.0", "pin-utils", diff --git a/Cargo.toml b/Cargo.toml index d2a3fc6f..a5acbf91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,43 +19,43 @@ categories = ["command-line-utilities", "development-tools::build-utils", "devel include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "build.rs", "templates"] [dependencies] -env_logger = "0.7.1" -anyhow = "1.0.32" -structopt = "0.3.16" +env_logger = "0.8.2" +anyhow = "1.0.34" +structopt = "0.3.20" log = "0.4.11" heck = "0.3.1" -zip = { version = "0.5.6", default-features = false } -pwasm-utils = "0.14.0" +zip = { version = "0.5.8", default-features = false } +pwasm-utils = "0.16.0" parity-wasm = "0.41.0" -cargo_metadata = "0.11.1" -codec = { package = "parity-scale-codec", version = "1.3.4" } +cargo_metadata = "0.12.1" +codec = { package = "parity-scale-codec", version = "1.3.5" } which = "4.0.2" colored = "2.0.0" -toml = "0.5.6" -rustc_version = "0.2.3" -blake2 = "0.9.0" +toml = "0.5.7" +rustc_version = "0.3.0" +blake2 = "0.9.1" contract-metadata = { version = "0.2.0", path = "./metadata" } -semver = { version = "0.10.0", features = ["serde"] } -serde = { version = "1.0.115", default-features = false, features = ["derive"] } -serde_json = "1.0.57" +semver = { version = "0.11.0", features = ["serde"] } +serde = { version = "1.0.117", default-features = false, features = ["derive"] } +serde_json = "1.0.59" tempfile = "3.1.0" -url = { version = "2.1.1", features = ["serde"] } -binaryen = "0.10.0" +url = { version = "2.2.0", features = ["serde"] } +binaryen = "0.12.0" # dependencies for optional extrinsics feature -async-std = { version = "1.6.2", optional = true } +async-std = { version = "1.7.0", optional = true } sp-core = { version = "2.0.0", optional = true } -subxt = { version = "0.11.0", package = "substrate-subxt", optional = true } -futures = { version = "0.3.5", optional = true } +subxt = { version = "0.13.0", package = "substrate-subxt", optional = true } +futures = { version = "0.3.8", optional = true } hex = { version = "0.4.2", optional = true } [build-dependencies] -anyhow = "1.0.32" -zip = { version = "0.5.6", default-features = false } +anyhow = "1.0.34" +zip = { version = "0.5.8", default-features = false } walkdir = "2.3.1" [dev-dependencies] -assert_matches = "1.3.0" +assert_matches = "1.4.0" pretty_assertions = "0.6.1" wabt = "0.10.0" diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index a282170f..eae031d6 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -17,10 +17,10 @@ include = ["Cargo.toml", "*.rs", "LICENSE"] path = "lib.rs" [dependencies] -semver = { version = "0.10.0", features = ["serde"] } -serde = { version = "1.0", default-features = false, features = ["derive"] } -serde_json = "1.0" -url = { version = "2.1.1", features = ["serde"] } +semver = { version = "0.11.0", features = ["serde"] } +serde = { version = "1.0.117", default-features = false, features = ["derive"] } +serde_json = "1.0.59" +url = { version = "2.2.0", features = ["serde"] } [dev-dependencies] pretty_assertions = "0.6.1" -- GitLab From 3631e898551a1383fc49cc9af1a9a0dd43e370c1 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 27 Nov 2020 11:24:04 +0000 Subject: [PATCH 3/5] Update CHANGELOG.md --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea477474..9f4292e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# Version v0.8.0 (2020-11-27) + +* Exit with 1 on Err [#109](https://github.com/paritytech/cargo-contract/pull/109) +* Use package name instead of lib name for metadata dependency [#107](https://github.com/paritytech/cargo-contract/pull/107) +* Do not prettify JSON for bundle [#105](https://github.com/paritytech/cargo-contract/pull/105) +* Make `source.hash` non-optional, remove metadata-only [#104](https://github.com/paritytech/cargo-contract/pull/104) +* Implement new commands `build` and `check` + introduce bundles (.contract files) [#97](https://github.com/paritytech/cargo-contract/pull/97) +* (aj-stack-overflow) Replace xbuild with cargo build-std [#99](https://github.com/paritytech/cargo-contract/pull/99) +* Make ci run [#100](https://github.com/paritytech/cargo-contract/pull/100) +* Use binaryen-rs as dep instead of requiring manual wasm-opt installation [#95](https://github.com/paritytech/cargo-contract/pull/95) +* Specify optional --manifest-path for build and generate-metadata [#93](https://github.com/paritytech/cargo-contract/pull/93) + # Version v0.7.1 (2020-10-26) * Update new command template to ink! 3.0-rc2 [#85](https://github.com/paritytech/cargo-contract/pull/85) -- GitLab From ad32462e91bd954daddc5adb9bc376ba66a8dd67 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 27 Nov 2020 11:36:39 +0000 Subject: [PATCH 4/5] Fix CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f4292e1..646a6578 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ * Do not prettify JSON for bundle [#105](https://github.com/paritytech/cargo-contract/pull/105) * Make `source.hash` non-optional, remove metadata-only [#104](https://github.com/paritytech/cargo-contract/pull/104) * Implement new commands `build` and `check` + introduce bundles (.contract files) [#97](https://github.com/paritytech/cargo-contract/pull/97) -* (aj-stack-overflow) Replace xbuild with cargo build-std [#99](https://github.com/paritytech/cargo-contract/pull/99) +* Replace xbuild with cargo build-std [#99](https://github.com/paritytech/cargo-contract/pull/99) * Make ci run [#100](https://github.com/paritytech/cargo-contract/pull/100) * Use binaryen-rs as dep instead of requiring manual wasm-opt installation [#95](https://github.com/paritytech/cargo-contract/pull/95) * Specify optional --manifest-path for build and generate-metadata [#93](https://github.com/paritytech/cargo-contract/pull/93) -- GitLab From e06b02eef365e3f90bd2fd78b331e6d02215fae3 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Mon, 30 Nov 2020 10:07:05 +0000 Subject: [PATCH 5/5] Remove changelog messages about CI --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 646a6578..e7ec27e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,6 @@ * Make `source.hash` non-optional, remove metadata-only [#104](https://github.com/paritytech/cargo-contract/pull/104) * Implement new commands `build` and `check` + introduce bundles (.contract files) [#97](https://github.com/paritytech/cargo-contract/pull/97) * Replace xbuild with cargo build-std [#99](https://github.com/paritytech/cargo-contract/pull/99) -* Make ci run [#100](https://github.com/paritytech/cargo-contract/pull/100) * Use binaryen-rs as dep instead of requiring manual wasm-opt installation [#95](https://github.com/paritytech/cargo-contract/pull/95) * Specify optional --manifest-path for build and generate-metadata [#93](https://github.com/paritytech/cargo-contract/pull/93) -- GitLab