Skip to content

Commit c90da11

Browse files
authored
Use edition 2021 (#977)
* update Rust edition 2018 -> 2021 * fix some doc tests due to Rust edition 2021 upgrade
1 parent ddf40e9 commit c90da11

File tree

31 files changed

+30
-33
lines changed

31 files changed

+30
-33
lines changed

crates/allocator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_allocator"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/engine/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_engine"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Michael Müller <michi@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/env/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_env"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/eth_compatibility/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_eth_compatibility"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/lang/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_lang"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/lang/codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_lang_codegen"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/lang/ir/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_lang_ir"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/lang/macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_lang_macro"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/metadata/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_metadata"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

crates/prelude/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "ink_prelude"
33
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
license = "Apache-2.0"
88
readme = "README.md"

0 commit comments

Comments
 (0)