-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to use rust 1.57.0 and edition2021 (#3114)
* update to use rust 1.57.0 * chore: fix clippy * fix clippy
- Loading branch information
Showing
125 changed files
with
147 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "starcoin-abi-decoder" | |
version = "1.9.0" | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "starcoin-abi-resolver" | ||
version = "1.9.0" | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "starcoin-abi-types" | |
version = "1.9.0" | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "airdrop" | ||
version = "1.9.0" | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
starcoin-rpc-api = {path = "../../rpc/api" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
name = "starcoin-indexer" | ||
publish = false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "merkle-generator" | ||
version = "1.9.0" | ||
authors = ["caojiafeng <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "starcoin-miner-client" | ||
version = "1.9.0" | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "starcoin-miner-client-api" | ||
version = "1.9.0" | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[[bin]] | ||
name = "starcoin_peer_watcher" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.8.0-rc.1" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[[bin]] | ||
name = "starcoin_replay" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[[bin]] | ||
name = "starcoin_txfactory" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "api-limiter" | |
version = "1.9.0" | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
serde = { version = "1.0.130" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[lib] | ||
proc-macro = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "starcoin-decrypt" | |
version = "1.9.0" | ||
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
pbkdf2="0.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ authors = ["Diem Association <[email protected]>", "Starcoin Core Dev <dev@sta | |
description = "Diem jellyfish merkle" | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.41" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
description = "Starcoin metrics" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "1.9.0" | |
authors = ["Starcoin Core Dev <[email protected]>"] | ||
license = "Apache-2.0" | ||
publish = false | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
crossbeam = "0.7.3" | ||
|
Oops, something went wrong.