Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
move to rust 2021 (#759)
Browse files Browse the repository at this point in the history
* move to rust 2021

* fix formatting, more moves
  • Loading branch information
nuke-web3 authored Nov 16, 2021
1 parent 6efe0d4 commit ec401ce
Show file tree
Hide file tree
Showing 39 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion client/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-client-cli"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
structopt = "0.3.3"
Expand Down
2 changes: 1 addition & 1 deletion client/collator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-client-collator"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Substrate dependencies
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/aura/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cumulus-client-consensus-aura"
description = "AURA consensus algorithm for parachains"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Substrate dependencies
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cumulus-client-consensus-common"
description = "Cumulus specific common consensus implementations"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Substrate deps
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/relay-chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cumulus-client-consensus-relay-chain"
description = "The relay-chain provided consensus algorithm"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Substrate deps
Expand Down
2 changes: 1 addition & 1 deletion client/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cumulus-client-network"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
description = "Cumulus-specific networking protocol"
edition = "2018"
edition = "2021"

[dependencies]
# Substrate deps
Expand Down
2 changes: 1 addition & 1 deletion client/pov-recovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cumulus-client-pov-recovery"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
description = "Cumulus-specific networking protocol"
edition = "2018"
edition = "2021"

[dependencies]
# Substrate deps
Expand Down
2 changes: 1 addition & 1 deletion client/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-client-service"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Cumulus dependencies
Expand Down
2 changes: 1 addition & 1 deletion pallets/asset-tx-payment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pallet-asset-tx-payment"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/cumulus/"
Expand Down
2 changes: 1 addition & 1 deletion pallets/aura-ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
description = "AURA consensus extension pallet for parachains"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pallets/collator-selection/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ['Anonymous']
description = 'Simple staking pallet with a fixed stake.'
edition = '2018'
edition = "2021"
homepage = 'https://substrate.io'
license = 'Apache-2.0'
name = 'pallet-collator-selection'
Expand Down
2 changes: 1 addition & 1 deletion pallets/dmp-queue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Other dependencies
Expand Down
2 changes: 1 addition & 1 deletion pallets/parachain-system/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Base pallet for cumulus-based parachains"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pallets/parachain-system/proc-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Proc macros provided by the parachain-system pallet"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion pallets/session-benchmarking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-pallet-session-benchmarking"
version = "3.0.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/cumulus/"
Expand Down
2 changes: 1 addition & 1 deletion pallets/xcm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
name = "cumulus-pallet-xcm"
version = "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion pallets/xcmp-queue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Other dependencies
Expand Down
2 changes: 1 addition & 1 deletion parachain-template/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "A new Cumulus FRAME-based Substrate Node, ready for hacking toget
license = "Unlicense"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/cumulus/"
edition = "2018"
edition = "2021"
build = "build.rs"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion parachain-template/pallets/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.1.0"
license = "Unlicense"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
edition = "2018"
edition = "2021"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
2 changes: 1 addition & 1 deletion parachain-template/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "A new Cumulus FRAME-based Substrate Runtime, ready for hacking to
license = "Unlicense"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/cumulus/"
edition = "2018"
edition = "2021"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "polkadot-collator"
version = "5.0.0"
authors = ["Parity Technologies <[email protected]>"]
build = "build.rs"
edition = "2018"
edition = "2021"

[[bin]]
name = "polkadot-collator"
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/pallets/parachain-info/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
name = "parachain-info"
version = "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/pallets/ping/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
name = "cumulus-ping"
version = "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/parachains-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "parachains-common"
version = "1.0.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Logic which is common to all parachain runtimes"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/rococo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = 'rococo-runtime'
version = '0.1.0'
authors = ["Parity Technologies <[email protected]>"]
edition = '2018'
edition = "2021"
description = "Simple runtime used by the rococo parachain(s)"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/shell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = 'shell-runtime'
version = '0.1.0'
authors = ["Parity Technologies <[email protected]>"]
edition = '2018'
edition = "2021"

[dependencies]
codec = { package = "parity-scale-codec", version = "2.3.0", default-features = false, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/statemine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = 'statemine-runtime'
version = '2.0.0'
authors = ["Parity Technologies <[email protected]>"]
edition = '2018'
edition = "2021"
description = "Kusama variant of Statemint parachain runtime"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/statemint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = 'statemint-runtime'
version = '1.0.0'
authors = ["Parity Technologies <[email protected]>"]
edition = '2018'
edition = "2021"
description = "Statemint parachain runtime"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/westmint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = 'westmint-runtime'
version = '1.0.0'
authors = ["Parity Technologies <[email protected]>"]
edition = '2018'
edition = "2021"
description = "Westend variant of Statemint parachain runtime"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion primitives/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-primitives-core"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Substrate dependencies
Expand Down
2 changes: 1 addition & 1 deletion primitives/parachain-inherent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Substrate dependencies
Expand Down
2 changes: 1 addition & 1 deletion primitives/timestamp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-primitives-timestamp"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Provides timestamp related functionality for parachains."

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion primitives/utility/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-primitives-utility"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
# Substrate dependencies
Expand Down
2 changes: 1 addition & 1 deletion test/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-test-client"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
Expand Down
2 changes: 1 addition & 1 deletion test/relay-sproof-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-test-relay-sproof-builder"
version = '0.1.0'
authors = ["Parity Technologies <[email protected]>"]
edition = '2018'
edition = "2021"

[dependencies]
# Other dependencies
Expand Down
2 changes: 1 addition & 1 deletion test/relay-validation-worker-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-test-relay-validation-worker-provider"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
build = "build.rs"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion test/relay-validation-worker-provider/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn create_project(out_dir: &Path) -> PathBuf {
name = "{project_name}"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"
[dependencies]
cumulus-test-relay-validation-worker-provider = {{ path = "{provider_path}" }}
Expand Down
2 changes: 1 addition & 1 deletion test/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-test-runtime"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
codec = { package = "parity-scale-codec", version = "2.3.0", default-features = false, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion test/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cumulus-test-service"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
codec = { package = "parity-scale-codec", version = "2.3.0" }
Expand Down

0 comments on commit ec401ce

Please sign in to comment.