Skip to content

Commit

Permalink
chore: rust edition 2021 and rust toolchain update
Browse files Browse the repository at this point in the history
  • Loading branch information
enthusiastmartin committed Jan 19, 2022
1 parent e8c6299 commit a306a3e
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "runtime-integration-tests"
version = "0.2.1"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "basilisk"
version = "5.1.2"
description = "Basilisk node"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion pallets/asset-registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pallet-asset-registry"
version = "1.1.6"
description = "Pallet for asset registry management"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion pallets/duster/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pallet-duster"
version = "2.2.1"
description = "Account duster"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion pallets/exchange/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pallet-exchange"
version = "5.2.5"
description = "Exchange Module"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion pallets/exchange/benchmarking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pallet-exchange-benchmarking"
version = "3.3.5"
description = "Exchange Benchmarking Module"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion pallets/lbp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pallet-lbp"
version = "4.2.2"
description = "HydraDX Liquidity Bootstrapping Pool Pallet"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion pallets/lbp/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pallet-lbp-rpc"
version = "1.0.1"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/basilisk-node"

Expand Down
2 changes: 1 addition & 1 deletion pallets/lbp/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "1.0.1"
authors = ["GalacticCouncil"]
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/basilisk-node"
edition = "2018"
edition = "2021"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
2 changes: 1 addition & 1 deletion pallets/nft/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pallet-nft"
version = "2.1.1"
description = "Simple NFT pallet for creating tokens"
authors = ["GalacticCoucil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion pallets/offchain-duster/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pallet-offchain-duster"
version = "2.0.1"
description = "Account duster offchain worker"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion pallets/xyk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = 'pallet-xyk'
version = '3.4.1'
description = 'XYK automated market maker'
authors = ['GalacticCouncil']
edition = '2018'
edition = '2021'
homepage = 'https://github.com/galacticcouncil/basilisk-node'
license = 'Apache 2.0'
repository = 'https://github.com/galacticcouncil/basilisk-node'
Expand Down
2 changes: 1 addition & 1 deletion pallets/xyk/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pallet-xyk-rpc"
version = "1.0.1"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/basilisk-node"

Expand Down
2 changes: 1 addition & 1 deletion pallets/xyk/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "3.0.1"
authors = ["GalacticCouncil"]
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/basilisk-node"
edition = "2018"
edition = "2021"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "primitives"
version = "6.1.2"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
repository = "https://github.com/galacticcouncil/Basilisk-node"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion runtime/basilisk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "basilisk-runtime"
version = "31.0.0"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "common-runtime"
version = "1.4.1"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion runtime/testing-basilisk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "testing-basilisk-runtime"
version = "31.0.0"
authors = ["GalacticCouncil"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/galacticcouncil/Basilisk-node"
license = "Apache 2.0"
repository = "https://github.com/galacticcouncil/Basilisk-node"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2021-11-07"
channel = "nightly-2021-11-30"
components = [ "rustfmt", "clippy" ]
targets = [ "wasm32-unknown-unknown" ]
profile = "minimal"
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
edition = "2018"
edition = "2021"
reorder_imports = true
hard_tabs = true
max_width = 120

0 comments on commit a306a3e

Please sign in to comment.