Skip to content

Commit

Permalink
update generator crates version and edition (#3436)
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonHX authored May 31, 2022
1 parent 1133a34 commit a43584b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion vm/starcoin-transactional-test-harness/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "starcoin-transactional-test-harness"
version = "1.11.10"
edition = "2018"
edition = "2021"
authors = ["Starcoin Core Dev <[email protected]>"]
license = "Apache-2.0"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions vm/transaction-builder-generator/src/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -839,10 +839,10 @@ impl crate::SourceInstaller for Installer {
r#"[package]
name = "{}"
version = "{}"
edition = "2018"
edition = "2021"
[dependencies]
once_cell = "1.4.0"
once_cell = "1.12.0"
serde = {{ version = "1.0", features = ["derive"] }}
serde_bytes = "0.11"
starcoin-types = {{ path = "../starcoin-types", version = "{}" }}
Expand Down
6 changes: 3 additions & 3 deletions vm/transaction-builder-generator/tests/generation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ fn test_that_rust_code_compiles() {
r#"[package]
name = "starcoin-stdlib"
version = "0.1.0"
edition = "2018"
edition = "2021"
[dependencies]
serde_bytes = "0.11"
serde = {{ version = "1.0.114", features = ["derive"] }}
serde = {{ version = "1.0", features = ["derive"] }}
bcs_ext = {{ package="bcs-ext", git = "https://github.com/starcoinorg/starcoin"}}
starcoin-types = {{ path = "../starcoin-types", version = "0.1.0" }}
once_cell = "1.4.0"
once_cell = "1.12.0"
[[bin]]
name = "stdlib_demo"
Expand Down

0 comments on commit a43584b

Please sign in to comment.