Skip to content

Commit 1e80389

Browse files
authored
chore: switch to rust 2021 edition & resolver 2 (#652)
- The v2 feature resolver will ensure that features don't get unified across test and non-test dependencies. - Rust 2021 will allow some new idioms.
1 parent c4ad8b5 commit 1e80389

File tree

13 files changed

+13
-12
lines changed

13 files changed

+13
-12
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ testing = []
5050
testing-fake-proofs = []
5151

5252
[workspace]
53+
resolver = "2"
5354
members = [
5455
"actors/*",
5556
"state",

actors/account/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin account actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
keywords = ["filecoin", "web3", "wasm"]
99

1010
[lib]

actors/cron/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin cron actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
repository = "https://github.com/filecoin-project/builtin-actors"
99
keywords = ["filecoin", "web3", "wasm"]
1010

actors/init/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin init actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
repository = "https://github.com/filecoin-project/builtin-actors"
99
keywords = ["filecoin", "web3", "wasm"]
1010

actors/market/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin market actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
repository = "https://github.com/filecoin-project/builtin-actors"
99
keywords = ["filecoin", "web3", "wasm"]
1010

actors/miner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin miner actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
repository = "https://github.com/filecoin-project/builtin-actors"
99
keywords = ["filecoin", "web3", "wasm"]
1010

actors/multisig/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin multisig actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
repository = "https://github.com/filecoin-project/builtin-actors"
99
keywords = ["filecoin", "web3", "wasm"]
1010

actors/paych/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin paych actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
repository = "https://github.com/filecoin-project/builtin-actors"
99
keywords = ["filecoin", "web3", "wasm"]
1010

actors/power/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin power actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
repository = "https://github.com/filecoin-project/builtin-actors"
99
keywords = ["filecoin", "web3", "wasm"]
1010

actors/reward/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Builtin reward actor for Filecoin"
44
version = "11.0.0-alpha.1"
55
license = "MIT OR Apache-2.0"
66
authors = ["ChainSafe Systems <[email protected]>", "Protocol Labs", "Filecoin Core Devs"]
7-
edition = "2018"
7+
edition = "2021"
88
repository = "https://github.com/filecoin-project/builtin-actors"
99
keywords = ["filecoin", "web3", "wasm"]
1010

0 commit comments

Comments
 (0)