Skip to content

Commit

Permalink
Update Cargo.toml files to use edition 2021 and workspace resolver 2
Browse files Browse the repository at this point in the history
- Set workspace resolver to "2" in root Cargo.toml
- Update all package Cargo.toml files to use edition "2021"
  • Loading branch information
nninkovicSQA authored Oct 11, 2024
1 parent 5c5e0af commit 7491d93
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .cargo/config

This file was deleted.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
# include a member for each contract
resolver = "2"
members = [
"sputnik-staking",
"sputnikdao2",
Expand Down
2 changes: 1 addition & 1 deletion sputnik-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "sputnik-staking"
version = "1.0.0"
authors = ["Sputnik Devs <near-daos@protonmail.com>"]
edition = "2018"
edition = "2021"
publish = false

[lib]
Expand Down
2 changes: 1 addition & 1 deletion sputnikdao-factory2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "sputnikdao-factory2"
version = "0.2.1"
authors = ["Illia Polosukhin <illia.polosukhin@gmail.com>"]
edition = "2018"
edition = "2021"
publish = false

[lib]
Expand Down
2 changes: 1 addition & 1 deletion sputnikdao2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "sputnikdao2"
version = "2.3.1"
authors = ["Sputnik Devs <near-daos@protonmail.com>"]
edition = "2018"
edition = "2021"
publish = false

[lib]
Expand Down
2 changes: 1 addition & 1 deletion test-token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "test-token"
version = "0.1.0"
authors = ["Illia Polosukhin <illia.polosukhin@gmail.com>"]
edition = "2018"
edition = "2021"
publish = false

[lib]
Expand Down

0 comments on commit 7491d93

Please sign in to comment.