From c9b5765f816d773618cc12a70a0095f644bbc68d Mon Sep 17 00:00:00 2001 From: Sam Blackshear Date: Thu, 13 Oct 2022 18:23:26 -0700 Subject: [PATCH] [deps] update bcs to 1.4 (#576) And use a workspace dep to enforce the same version everywhere. --- Cargo.lock | 182 +++++++++--------- Cargo.toml | 5 +- .../diem-framework/crates/cli/Cargo.toml | 3 +- .../diem-framework/crates/crypto/Cargo.toml | 3 +- .../extensions/async/move-async-vm/Cargo.toml | 3 +- .../move-table-extension/Cargo.toml | 3 +- language/move-compiler/Cargo.toml | 3 +- language/move-core/types/Cargo.toml | 3 +- language/move-ir-compiler/Cargo.toml | 3 +- .../move-bytecode-source-map/Cargo.toml | 3 +- language/move-prover/move-abigen/Cargo.toml | 5 +- .../move-prover/move-errmapgen/Cargo.toml | 5 +- language/move-vm/types/Cargo.toml | 3 +- language/tools/move-cli/Cargo.toml | 3 +- language/tools/move-coverage/Cargo.toml | 3 +- language/tools/move-explain/Cargo.toml | 3 +- language/tools/move-package/Cargo.toml | 3 +- .../tools/move-resource-viewer/Cargo.toml | 3 +- 18 files changed, 128 insertions(+), 111 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2c8888ae5b..774baf6109 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -149,7 +149,7 @@ version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47e4f2b81832e72834d7518d8487a0396a28cc408186a2e8854c0f98011faf12" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", "serde_json", ] @@ -346,11 +346,11 @@ dependencies = [ [[package]] name = "bcs" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "510fd83e3eaf7263b06182f3550b4c0af2af42cb36ab8024969ff5ea7fcb2833" +checksum = "8b06b4c1f053002b70e7084ac944c77d58d5d92b2110dbc5e852735e00ad3ccc" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", "thiserror", ] @@ -520,7 +520,7 @@ dependencies = [ "lazy_static 1.4.0", "memchr", "regex-automata", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -609,7 +609,7 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52d74260d9bf6944e2208aa46841b4b8f0d7ffc0849a06837b2f510337f86b2b" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -618,7 +618,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -630,7 +630,7 @@ dependencies = [ "camino", "cargo-platform", "semver 1.0.4", - "serde 1.0.143", + "serde 1.0.145", "serde_json", ] @@ -779,7 +779,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3362992a0d9f1dd7c3d0e89e0ab2bb540b7a95fea8cd798090e758fda2899b5e" dependencies = [ "codespan-reporting", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -788,7 +788,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", "termcolor", "unicode-width", ] @@ -843,7 +843,7 @@ dependencies = [ "lazy_static 1.4.0", "nom", "rust-ini", - "serde 1.0.143", + "serde 1.0.145", "serde-hjson", "serde_json", "toml", @@ -924,7 +924,7 @@ dependencies = [ "plotters", "rayon", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_cbor", "serde_derive", "serde_json", @@ -1107,7 +1107,7 @@ dependencies = [ "csv-core", "itoa 0.4.7", "ryu", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -1257,7 +1257,7 @@ dependencies = [ "once_cell", "petgraph 0.6.0", "rayon", - "serde 1.0.143", + "serde 1.0.145", "toml", ] @@ -1307,7 +1307,7 @@ dependencies = [ "rand 0.8.4", "rand_core 0.6.2", "ripemd160", - "serde 1.0.143", + "serde 1.0.145", "serde-name", "serde_bytes", "serde_json", @@ -1488,7 +1488,7 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37c66a534cbb46ab4ea03477eae19d5c22c01da8258030280b7bd9d8433fb6ef" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", "signature", ] @@ -1501,7 +1501,7 @@ dependencies = [ "curve25519-dalek-fiat", "ed25519", "rand 0.8.4", - "serde 1.0.143", + "serde 1.0.145", "serde_bytes", "sha2", "zeroize", @@ -1566,7 +1566,7 @@ dependencies = [ "hex", "once_cell", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "sha3 0.10.1", "thiserror", @@ -1614,7 +1614,7 @@ dependencies = [ "rlp", "rlp-derive", "scale-info", - "serde 1.0.143", + "serde 1.0.145", "sha3 0.9.1", "triehash", ] @@ -1677,7 +1677,7 @@ dependencies = [ "primitive-types 0.10.1", "rlp", "scale-info", - "serde 1.0.143", + "serde 1.0.145", "sha3 0.8.2", ] @@ -1691,7 +1691,7 @@ dependencies = [ "parity-scale-codec 2.3.1", "primitive-types 0.10.1", "scale-info", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -1747,7 +1747,7 @@ dependencies = [ "move-to-yul", "once_cell", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_json", ] @@ -2085,7 +2085,7 @@ dependencies = [ "petgraph 0.6.0", "rayon", "semver 1.0.4", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "smallvec", "target-spec", @@ -2102,7 +2102,7 @@ dependencies = [ "cfg-if 1.0.0", "diffus", "semver 1.0.4", - "serde 1.0.143", + "serde 1.0.145", "toml", ] @@ -2271,7 +2271,7 @@ dependencies = [ "levenshtein", "log", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "serde_regex", "similar", @@ -2298,7 +2298,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac34a56cfd4acddb469cc7fff187ed5ac36f498ba085caf8bbc725e3ff474058" dependencies = [ "humantime", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -2414,7 +2414,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -2707,7 +2707,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ "cfg-if 1.0.0", - "serde 1.0.143", + "serde 1.0.145", "value-bag", ] @@ -2719,7 +2719,7 @@ checksum = "c351c75989da23b355226dc188dc2b52538a7f4f218d70fd7393c6b62b110444" dependencies = [ "crossbeam-channel", "log", - "serde 1.0.143", + "serde 1.0.145", "serde_json", ] @@ -2730,7 +2730,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f3734ab1d7d157fc0c45110e06b587c31cd82bea2ccfd6b563cbff0aaeeb1d3" dependencies = [ "bitflags", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "serde_repr", "url", @@ -2848,7 +2848,7 @@ dependencies = [ "move-model", "move-prover", "move-prover-test-utils", - "serde 1.0.143", + "serde 1.0.145", "tempfile", ] @@ -2871,7 +2871,7 @@ dependencies = [ "move-package", "move-symbol-pool", "petgraph 0.5.1", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "tempfile", "url", @@ -2910,7 +2910,7 @@ dependencies = [ "proptest", "proptest-derive", "ref-cast", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "variant_count", ] @@ -2930,7 +2930,7 @@ dependencies = [ "move-core-types", "move-ir-types", "move-symbol-pool", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3012,7 +3012,7 @@ dependencies = [ "read-write-set", "read-write-set-dynamic", "reqwest", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "serde_yaml", "tempfile", @@ -3031,7 +3031,7 @@ dependencies = [ "move-core-types", "num-bigint 0.4.0", "once_cell", - "serde 1.0.143", + "serde 1.0.145", "sha2", "walkdir", ] @@ -3087,7 +3087,7 @@ dependencies = [ "rand 0.8.4", "ref-cast", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_bytes", "serde_json", ] @@ -3108,7 +3108,7 @@ dependencies = [ "move-ir-types", "once_cell", "petgraph 0.5.1", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3145,7 +3145,7 @@ dependencies = [ "num 0.4.0", "once_cell", "regex", - "serde 1.0.143", + "serde 1.0.145", "tempfile", ] @@ -3162,7 +3162,7 @@ dependencies = [ "move-core-types", "move-model", "move-prover", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3173,7 +3173,7 @@ dependencies = [ "ethabi", "once_cell", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_json", ] @@ -3253,7 +3253,7 @@ dependencies = [ "move-core-types", "move-symbol-pool", "once_cell", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3280,7 +3280,7 @@ dependencies = [ "num 0.4.0", "once_cell", "regex", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3313,7 +3313,7 @@ dependencies = [ "ptree", "regex", "reqwest", - "serde 1.0.143", + "serde 1.0.145", "serde_yaml", "sha2", "tempfile", @@ -3354,7 +3354,7 @@ dependencies = [ "once_cell", "pretty", "rand 0.8.4", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "shell-words", "simplelog", @@ -3385,7 +3385,7 @@ dependencies = [ "pretty", "rand 0.8.4", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "tera", "tokio", @@ -3408,7 +3408,7 @@ dependencies = [ "anyhow", "move-binary-format", "move-core-types", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3422,7 +3422,7 @@ dependencies = [ "move-bytecode-utils", "move-core-types", "once_cell", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3452,7 +3452,7 @@ dependencies = [ "once_cell", "paste", "petgraph 0.5.1", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3471,7 +3471,7 @@ dependencies = [ "move-prover-test-utils", "move-stackless-bytecode", "num 0.4.0", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3506,7 +3506,7 @@ name = "move-symbol-pool" version = "0.1.0" dependencies = [ "once_cell", - "serde 1.0.143", + "serde 1.0.145", "serde_json", ] @@ -3565,7 +3565,7 @@ dependencies = [ "primitive-types 0.10.1", "rand 0.8.4", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "sha3 0.9.1", "simplelog", @@ -3690,7 +3690,7 @@ dependencies = [ "move-table-extension", "move-vm-types", "once_cell", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -3710,7 +3710,7 @@ dependencies = [ "move-core-types", "once_cell", "proptest", - "serde 1.0.143", + "serde 1.0.145", "smallvec", ] @@ -3766,7 +3766,7 @@ dependencies = [ "camino", "config", "humantime-serde", - "serde 1.0.143", + "serde 1.0.145", "toml", ] @@ -3792,7 +3792,7 @@ dependencies = [ "owo-colors", "quick-junit", "rayon", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "strip-ansi-escapes", "twox-hash", @@ -3804,7 +3804,7 @@ version = "0.1.0" source = "git+https://github.com/diem/diem-devtools?rev=f99a204e3d3f8e503d51d7df42e55c8282b59154#f99a204e3d3f8e503d51d7df42e55c8282b59154" dependencies = [ "camino", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -4118,7 +4118,7 @@ dependencies = [ "byte-slice-cast", "impl-trait-for-tuples", "parity-scale-codec-derive 2.3.1", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -4132,7 +4132,7 @@ dependencies = [ "byte-slice-cast", "impl-trait-for-tuples", "parity-scale-codec-derive 3.1.2", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -4646,7 +4646,7 @@ dependencies = [ "move-stackless-bytecode", "num 0.4.0", "plotters", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "simplelog", "z3tracer", @@ -4669,7 +4669,7 @@ dependencies = [ "move-prover", "move-stackless-bytecode", "num 0.4.0", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "simplelog", ] @@ -4685,7 +4685,7 @@ dependencies = [ "config", "directories", "petgraph 0.6.0", - "serde 1.0.143", + "serde 1.0.145", "serde-value", "tint", ] @@ -5022,7 +5022,7 @@ dependencies = [ "native-tls", "percent-encoding", "pin-project-lite", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "serde_urlencoded", "tokio", @@ -5212,7 +5212,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -5229,9 +5229,9 @@ checksum = "9dad3f759919b92c3068c696c15c3d17238234498bbdcc80f2c469606f948ac8" [[package]] name = "serde" -version = "1.0.143" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" +checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b" dependencies = [ "serde_derive", ] @@ -5254,7 +5254,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12c47087018ec281d1cdab673d36aea22d816b54d498264029c05d5fa1910da6" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", "thiserror", ] @@ -5265,7 +5265,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "167450ba550f903a2b35a81ba3ca387585189e2430e3df6b94b95f3bec2f26bd" dependencies = [ "once_cell", - "serde 1.0.143", + "serde 1.0.145", "thiserror", ] @@ -5276,7 +5276,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" dependencies = [ "ordered-float", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -5285,7 +5285,7 @@ version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16ae07dd2f88a366f15bd0632ba725227018c69a1c8550a927324f8eb8368bb9" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -5295,14 +5295,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e18acfa2f90e8b735b2836ab8d538de304cbb6729a7360729ea5a895d15a622" dependencies = [ "half", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] name = "serde_derive" -version = "1.0.143" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391" +checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c" dependencies = [ "proc-macro2 1.0.43", "quote 1.0.9", @@ -5317,7 +5317,7 @@ checksum = "bcbd0344bc6533bc7ec56df11d42fb70f1b912351c0825ccb7211b59d8af7cf5" dependencies = [ "itoa 1.0.1", "ryu", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -5327,7 +5327,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8136f1a4ea815d7eac4101cfd0b16dc0cb5e1fe1b8609dfd728058656b7badf" dependencies = [ "regex", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -5350,7 +5350,7 @@ dependencies = [ "form_urlencoded", "itoa 1.0.1", "ryu", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -5361,7 +5361,7 @@ checksum = "15654ed4ab61726bf918a39cb8d98a2e2995b002387807fa6ba58fdf7f59bb23" dependencies = [ "dtoa", "linked-hash-map", - "serde 1.0.143", + "serde 1.0.145", "yaml-rust", ] @@ -5757,7 +5757,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdc03d14ed79a75163d3509ebf1970a2ec67945c5cac68d947d1dddace43cec0" dependencies = [ "cfg-expr", - "serde 1.0.143", + "serde 1.0.145", "target-lexicon", ] @@ -5791,7 +5791,7 @@ dependencies = [ "pest_derive", "rand 0.8.4", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "slug", "unic-segment", @@ -5870,18 +5870,18 @@ checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" [[package]] name = "thiserror" -version = "1.0.35" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c53f98874615aea268107765aa1ed8f6116782501d18e53d08b471733bea6c85" +checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.35" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b463991b4eab2d801e724172285ec4195c650e8ec79b149e6c2a8e6dd3f783" +checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" dependencies = [ "proc-macro2 1.0.43", "quote 1.0.9", @@ -5932,7 +5932,7 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" dependencies = [ - "serde 1.0.143", + "serde 1.0.145", "serde_json", ] @@ -6013,7 +6013,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" dependencies = [ "indexmap", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -6025,7 +6025,7 @@ dependencies = [ "combine", "indexmap", "itertools 0.10.1", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -6131,7 +6131,7 @@ checksum = "9d664de8ea7e531ad4c0f5a834f20b8cb2b8e6dfe88d05796ee7887518ed67b9" dependencies = [ "glob", "lazy_static 1.4.0", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "termcolor", "toml", @@ -6323,7 +6323,7 @@ dependencies = [ "idna", "matches", "percent-encoding", - "serde 1.0.143", + "serde 1.0.145", ] [[package]] @@ -6671,7 +6671,7 @@ dependencies = [ "nextest-runner", "rayon", "regex", - "serde 1.0.143", + "serde 1.0.145", "serde_json", "supports-color", "toml", @@ -6692,7 +6692,7 @@ dependencies = [ "log", "once_cell", "ouroboros", - "serde 1.0.143", + "serde 1.0.145", "toml", ] @@ -6703,7 +6703,7 @@ dependencies = [ "camino", "guppy", "once_cell", - "serde 1.0.143", + "serde 1.0.145", "toml", "x-core", ] diff --git a/Cargo.toml b/Cargo.toml index 82231f04a4..9b9068e875 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,8 +95,9 @@ default-members = [ "language/tools/move-unit-test", ] -# [profile.release] -# debug = true +# Dependencies that should be kept in sync through the whole workspace +[workspace.dependencies] +bcs = "0.1.4" [profile.bench] debug = true diff --git a/language/documentation/examples/diem-framework/crates/cli/Cargo.toml b/language/documentation/examples/diem-framework/crates/cli/Cargo.toml index 95a320833a..f1223aa3d4 100644 --- a/language/documentation/examples/diem-framework/crates/cli/Cargo.toml +++ b/language/documentation/examples/diem-framework/crates/cli/Cargo.toml @@ -9,9 +9,10 @@ edition = "2021" [dependencies] anyhow = "1.0.52" -bcs = "0.1.2" clap = { version = "3.1.8", features = ["derive"] } +bcs = "0.1.4" + move-stdlib = { path = "../../../../../move-stdlib" } move-core-types = { path = "../../../../../move-core/types" } move-vm-types = { path = "../../../../../move-vm/types" } diff --git a/language/documentation/examples/diem-framework/crates/crypto/Cargo.toml b/language/documentation/examples/diem-framework/crates/crypto/Cargo.toml index dd636356f9..2e9031677b 100644 --- a/language/documentation/examples/diem-framework/crates/crypto/Cargo.toml +++ b/language/documentation/examples/diem-framework/crates/crypto/Cargo.toml @@ -30,7 +30,8 @@ tiny-keccak = { version = "2.0.2", features = ["sha3"] } x25519-dalek = { version = "0.1.0", package = "x25519-dalek-fiat", default-features = false, features = ["std"] } aes-gcm = "0.8.0" diem-crypto-derive = { path = "../crypto-derive" } -bcs = "0.1.2" + +bcs = "0.1.4" [dev-dependencies] bitvec = "0.19.4" diff --git a/language/extensions/async/move-async-vm/Cargo.toml b/language/extensions/async/move-async-vm/Cargo.toml index 0d25f3aa4f..998e73da46 100644 --- a/language/extensions/async/move-async-vm/Cargo.toml +++ b/language/extensions/async/move-async-vm/Cargo.toml @@ -14,7 +14,6 @@ better_any = "0.1.1" walkdir = "2.3.1" itertools = "0.10.0" smallvec = "1.6.1" -bcs = "0.1.2" sha3 = "0.9.1" move-command-line-common = { path = "../../../move-command-line-common" } move-core-types = { path = "../../../move-core/types" } @@ -24,6 +23,8 @@ move-vm-runtime = { path = "../../../move-vm/runtime", features = ["debugging"] move-vm-test-utils = { path = "../../../move-vm/test-utils" } move-binary-format = { path = "../../../move-binary-format" } +bcs.workspace = true + [dev-dependencies] datatest-stable = "0.1.1" move-prover-test-utils = { path = "../../../move-prover/test-utils" } diff --git a/language/extensions/move-table-extension/Cargo.toml b/language/extensions/move-table-extension/Cargo.toml index 5cf8b258c8..1dc6384986 100644 --- a/language/extensions/move-table-extension/Cargo.toml +++ b/language/extensions/move-table-extension/Cargo.toml @@ -12,7 +12,6 @@ publish = false anyhow = "1.0.52" better_any = "0.1.1" smallvec = "1.6.1" -bcs = "0.1.2" sha3 = "0.9.1" once_cell = "1.7.2" move-core-types = { path = "../../move-core/types" } @@ -20,6 +19,8 @@ move-vm-types = { path = "../../move-vm/types" } move-vm-runtime = { path = "../../move-vm/runtime", features = ["debugging"] } move-binary-format = { path = "../../move-binary-format" } +bcs.workspace = true + [dev-dependencies] move-stdlib = { path = "../../move-stdlib", features = ["testing"] } move-unit-test = { path = "../../tools/move-unit-test", features = ["table-extension"] } diff --git a/language/move-compiler/Cargo.toml b/language/move-compiler/Cargo.toml index 0d266e48b2..e84b44da13 100644 --- a/language/move-compiler/Cargo.toml +++ b/language/move-compiler/Cargo.toml @@ -21,6 +21,8 @@ once_cell = "1.7.2" num-bigint = "0.4.0" sha3 = "0.9.1" +bcs.workspace = true + move-binary-format = { path = "../move-binary-format" } move-core-types = { path = "../move-core/types" } move-bytecode-verifier = { path = "../move-bytecode-verifier" } @@ -29,7 +31,6 @@ move-ir-types = { path = "../move-ir/types" } move-ir-to-bytecode = { path = "../move-ir-compiler/move-ir-to-bytecode" } move-borrow-graph = { path = "../move-borrow-graph" } move-bytecode-source-map = { path = "../move-ir-compiler/move-bytecode-source-map" } -bcs = "0.1.2" move-command-line-common = { path = "../move-command-line-common" } [dev-dependencies] diff --git a/language/move-core/types/Cargo.toml b/language/move-core/types/Cargo.toml index cc71459fdb..57836d90ba 100644 --- a/language/move-core/types/Cargo.toml +++ b/language/move-core/types/Cargo.toml @@ -11,7 +11,6 @@ edition = "2021" [dependencies] anyhow = "1.0.52" -bcs = "0.1.2" hex = "0.4.3" once_cell = "1.7.2" proptest = { version = "1.0.0", default-features = false, optional = true } @@ -21,6 +20,8 @@ ref-cast = "1.0.6" serde = { version = "1.0.124", default-features = false } serde_bytes = "0.11.5" +bcs.workspace = true + [dev-dependencies] proptest = "1.0.0" proptest-derive = "0.3.0" diff --git a/language/move-ir-compiler/Cargo.toml b/language/move-ir-compiler/Cargo.toml index 8b3513a8d8..7b183ee239 100644 --- a/language/move-ir-compiler/Cargo.toml +++ b/language/move-ir-compiler/Cargo.toml @@ -19,9 +19,10 @@ move-ir-types = { path = "../move-ir/types" } move-core-types = { path = "../move-core/types" } move-binary-format = { path = "../move-binary-format" } move-symbol-pool = { path = "../move-symbol-pool" } -bcs = "0.1.2" clap = { version = "3.1.8", features = ["derive"] } serde_json = "1.0.64" +bcs.workspace = true + [features] default = [] diff --git a/language/move-ir-compiler/move-bytecode-source-map/Cargo.toml b/language/move-ir-compiler/move-bytecode-source-map/Cargo.toml index 9f5bbaacfc..e7d1dc3c7a 100644 --- a/language/move-ir-compiler/move-bytecode-source-map/Cargo.toml +++ b/language/move-ir-compiler/move-bytecode-source-map/Cargo.toml @@ -14,7 +14,8 @@ move-symbol-pool = { path = "../../move-symbol-pool" } move-binary-format = { path = "../../move-binary-format" } move-command-line-common = { path = "../../move-command-line-common" } -bcs = "0.1.2" +bcs.workspace = true + serde = { version = "1.0.124", default-features = false } [features] diff --git a/language/move-prover/move-abigen/Cargo.toml b/language/move-prover/move-abigen/Cargo.toml index c02c5569a9..f4eb6ae5dc 100644 --- a/language/move-prover/move-abigen/Cargo.toml +++ b/language/move-prover/move-abigen/Cargo.toml @@ -7,13 +7,14 @@ edition = "2021" license = "Apache-2.0" [dependencies] -# diem dependencies +# Move dependencies move-model = { path = "../../move-model" } move-core-types = { path = "../../move-core/types" } move-binary-format = { path = "../../move-binary-format" } move-bytecode-verifier = { path = "../../move-bytecode-verifier" } move-command-line-common = { path = "../../move-command-line-common" } -bcs = "0.1.2" + +bcs.workspace = true # external dependencies log = "0.4.14" diff --git a/language/move-prover/move-errmapgen/Cargo.toml b/language/move-prover/move-errmapgen/Cargo.toml index 6ec7e33e79..a6650ebc79 100644 --- a/language/move-prover/move-errmapgen/Cargo.toml +++ b/language/move-prover/move-errmapgen/Cargo.toml @@ -7,11 +7,12 @@ edition = "2021" license = "Apache-2.0" [dependencies] -# diem dependencies +# Move dependencies move-command-line-common = { path = "../../move-command-line-common" } move-model = { path = "../../move-model" } move-core-types = { path = "../../move-core/types" } -bcs = "0.1.2" + +bcs.workspace = true # external dependencies log = "0.4.14" diff --git a/language/move-vm/types/Cargo.toml b/language/move-vm/types/Cargo.toml index 3c7309abf2..8a89a92feb 100644 --- a/language/move-vm/types/Cargo.toml +++ b/language/move-vm/types/Cargo.toml @@ -15,7 +15,8 @@ proptest = { version = "1.0.0", optional = true } serde = { version = "1.0.124", features = ["derive", "rc"] } smallvec = "1.6.1" -bcs = "0.1.2" +bcs.workspace = true + move-core-types = { path = "../../move-core/types" } move-binary-format = { path = "../../move-binary-format" } diff --git a/language/tools/move-cli/Cargo.toml b/language/tools/move-cli/Cargo.toml index 8d1de63f0e..7802ba99b7 100644 --- a/language/tools/move-cli/Cargo.toml +++ b/language/tools/move-cli/Cargo.toml @@ -25,7 +25,8 @@ serde_json = "1.0" toml_edit = { version = "0.14.3", features = ["easy"] } reqwest = { version = "0.11.1", features = ["blocking", "json"] } -bcs = "0.1.2" +bcs.workspace = true + move-bytecode-verifier = { path = "../../move-bytecode-verifier" } move-disassembler = { path = "../move-disassembler" } move-docgen = { path = "../../move-prover/move-docgen" } diff --git a/language/tools/move-coverage/Cargo.toml b/language/tools/move-coverage/Cargo.toml index 5aca8e138e..65698f2d96 100644 --- a/language/tools/move-coverage/Cargo.toml +++ b/language/tools/move-coverage/Cargo.toml @@ -18,7 +18,8 @@ anyhow = "1.0.52" codespan = { version = "0.11.1", features = ["serialization"] } colored = "2.0.0" -bcs = "0.1.2" +bcs.workspace = true + move-command-line-common = { path = "../../move-command-line-common" } move-core-types = { path = "../../move-core/types" } move-ir-types = { path = "../../move-ir/types" } diff --git a/language/tools/move-explain/Cargo.toml b/language/tools/move-explain/Cargo.toml index 824cefdfac..030f86c352 100644 --- a/language/tools/move-explain/Cargo.toml +++ b/language/tools/move-explain/Cargo.toml @@ -13,7 +13,8 @@ edition = "2021" clap = { version = "3.1.8", features = ["derive"] } move-command-line-common = { path = "../../move-command-line-common" } move-core-types = { path = "../../move-core/types" } -bcs = "0.1.2" + +bcs.workspace = true [features] default = [] diff --git a/language/tools/move-package/Cargo.toml b/language/tools/move-package/Cargo.toml index 7c3b88a544..9cfdfa525e 100644 --- a/language/tools/move-package/Cargo.toml +++ b/language/tools/move-package/Cargo.toml @@ -14,7 +14,6 @@ petgraph = "0.5.1" anyhow = "1.0.52" walkdir = "2.3.1" clap = { version = "3.1.8", features = ["derive"] } -bcs = "0.1.2" colored = "2.0.0" serde_yaml = "0.8.17" tempfile = "3.2.0" @@ -26,6 +25,8 @@ named-lock = "0.2.0" dirs-next = "2.0.0" itertools = "0.10.0" +bcs.workspace = true + move-binary-format = { path = "../../move-binary-format" } move-compiler = { path = "../../move-compiler" } move-bytecode-source-map = { path = "../../move-ir-compiler/move-bytecode-source-map" } diff --git a/language/tools/move-resource-viewer/Cargo.toml b/language/tools/move-resource-viewer/Cargo.toml index 427b7c684a..d860d9ac7f 100644 --- a/language/tools/move-resource-viewer/Cargo.toml +++ b/language/tools/move-resource-viewer/Cargo.toml @@ -10,12 +10,13 @@ publish = false edition = "2021" [dependencies] -bcs = "0.1.2" move-core-types = { path = "../../move-core/types" } move-binary-format = { path = "../../move-binary-format" } move-bytecode-utils = { path = "../move-bytecode-utils" } serde = { version = "1.0.124", features = ["derive", "rc"] } +bcs.workspace = true + anyhow = "1.0.52" once_cell = "1.7.2" hex = "0.4.3"