Skip to content

Commit 3fcf871

Browse files
committed
update main crates rust-edition to 2021
1 parent dbc1c3c commit 3fcf871

File tree

23 files changed

+23
-23
lines changed

23 files changed

+23
-23
lines changed

bins/conflux/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "conflux"
33
build = "build.rs"
4-
edition = "2018"
4+
edition = "2021"
55
version.workspace = true
66
authors.workspace = true
77
description.workspace = true

crates/accounts/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ license = "GPL-3.0"
55
name = "cfxcore-accounts"
66
version = "0.1.0"
77
authors = ["Conflux Foundation"]
8-
edition = "2018"
8+
edition = "2021"
99

1010
[dependencies]
1111
cfxkey = { path = "../cfx_key" }

crates/blockgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ homepage = "https://www.confluxnetwork.org"
44
license = "GPL-3.0"
55
name = "blockgen"
66
version = "0.1.0"
7-
edition = "2018"
7+
edition = "2021"
88

99
[dependencies]
1010
clap = "2"

crates/cfx_utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ homepage = "https://www.confluxnetwork.org"
44
license = "GPL-3.0"
55
name = "cfx-utils"
66
version = "0.6.0"
7-
edition = "2018"
7+
edition = "2021"
88

99
[dependencies]
1010
log = "0.4"

crates/cfxcore/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ homepage = "https://www.confluxnetwork.org"
44
license = "GPL-3.0"
55
name = "cfxcore"
66
version = "2.0.2"
7-
edition = "2018"
7+
edition = "2021"
88

99
[dependencies]
1010
bit-set = "0.4"

crates/cfxcore/execute-helper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ homepage = "https://www.confluxnetwork.org"
44
license = "GPL-3.0"
55
name = "cfx-execute-helper"
66
version = "2.0.2"
7-
edition = "2018"
7+
edition = "2021"
88

99
[dependencies]
1010
# substrate-bn = { git = "https://github.com/paritytech/bn", default-features = false, rev="63f8c587356a67b33c7396af98e065b66fca5dda" }

crates/cfxcore/executor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ homepage = "https://www.confluxnetwork.org"
44
license = "GPL-3.0"
55
name = "cfx-executor"
66
version = "2.0.2"
7-
edition = "2018"
7+
edition = "2021"
88

99
[dependencies]
1010
substrate-bn = { git = "https://github.com/paritytech/bn", default-features = false, rev="63f8c587356a67b33c7396af98e065b66fca5dda" }

crates/cfxcore/internal_common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ homepage = "https://www.confluxnetwork.org"
44
license = "GPL-3.0"
55
name = "cfx-internal-common"
66
version = "1.0.0"
7-
edition = "2018"
7+
edition = "2021"
88

99
[dependencies]
1010
cfx-bytes = { path = "../../cfx_bytes" }

crates/cfxcore/packing-pool/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cfx-packing-pool"
33
version = "0.1.0"
4-
edition = "2018"
4+
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

crates/cfxcore/parameters/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ homepage = "https://www.confluxnetwork.org"
44
license = "GPL-3.0"
55
name = "cfx-parameters"
66
version = "1.0.0"
7-
edition = "2018"
7+
edition = "2021"
88

99
[dependencies]
1010
cfx-types = { path = "../../cfx_types" }

0 commit comments

Comments
 (0)