Skip to content

Commit

Permalink
[deps] update bcs to 1.4 (move-language#576)
Browse files Browse the repository at this point in the history
And use a workspace dep to enforce the same version everywhere.
  • Loading branch information
sblackshear authored Oct 14, 2022
1 parent e9b0aed commit c9b5765
Show file tree
Hide file tree
Showing 18 changed files with 128 additions and 111 deletions.
182 changes: 91 additions & 91 deletions Cargo.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion language/extensions/async/move-async-vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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" }
Expand Down
3 changes: 2 additions & 1 deletion language/extensions/move-table-extension/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ 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" }
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"] }
Expand Down
3 changes: 2 additions & 1 deletion language/move-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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]
Expand Down
3 changes: 2 additions & 1 deletion language/move-core/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion language/move-ir-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
5 changes: 3 additions & 2 deletions language/move-prover/move-abigen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions language/move-prover/move-errmapgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion language/move-vm/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
3 changes: 2 additions & 1 deletion language/tools/move-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
3 changes: 2 additions & 1 deletion language/tools/move-coverage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
3 changes: 2 additions & 1 deletion language/tools/move-explain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
3 changes: 2 additions & 1 deletion language/tools/move-package/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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" }
Expand Down
3 changes: 2 additions & 1 deletion language/tools/move-resource-viewer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c9b5765

Please sign in to comment.