From b6a3ecc150040daa440637ac892265165f3450f6 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Wed, 1 Dec 2021 13:37:30 +0800 Subject: [PATCH] use double quotes instead of single quotes & upgrade 2021 (#10398) --- bin/node-template/pallets/template/Cargo.toml | 18 +++++++++--------- bin/node-template/runtime/Cargo.toml | 2 +- .../asset-tx-payment/Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bin/node-template/pallets/template/Cargo.toml b/bin/node-template/pallets/template/Cargo.toml index 1a239bef3262a..887b022d6ca7f 100644 --- a/bin/node-template/pallets/template/Cargo.toml +++ b/bin/node-template/pallets/template/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = 'pallet-template' +name = "pallet-template" version = "3.0.0" description = "FRAME pallet template for defining custom runtime logic." -authors = ['Substrate DevHub '] +authors = ["Substrate DevHub "] homepage = "https://substrate.io/" -edition = '2018' +edition = "2021" license = "Unlicense" publish = false repository = "https://github.com/substrate-developer-hub/substrate-node-template/" @@ -27,13 +27,13 @@ sp-io = { default-features = false, version = "4.0.0-dev", path = "../../../../p sp-runtime = { default-features = false, version = "4.0.0-dev", path = "../../../../primitives/runtime" } [features] -default = ['std'] +default = ["std"] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'frame-benchmarking/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "frame-benchmarking/std", ] runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"] diff --git a/bin/node-template/runtime/Cargo.toml b/bin/node-template/runtime/Cargo.toml index c821bdac169e6..c7ff0ff5a268a 100644 --- a/bin/node-template/runtime/Cargo.toml +++ b/bin/node-template/runtime/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "node-template-runtime" version = "3.0.0" -description = 'A fresh FRAME-based Substrate runtime, ready for hacking.' +description = "A fresh FRAME-based Substrate runtime, ready for hacking." authors = ["Substrate DevHub "] homepage = "https://substrate.io/" edition = "2021" diff --git a/frame/transaction-payment/asset-tx-payment/Cargo.toml b/frame/transaction-payment/asset-tx-payment/Cargo.toml index e4f3b128cfce9..a79bf68551000 100644 --- a/frame/transaction-payment/asset-tx-payment/Cargo.toml +++ b/frame/transaction-payment/asset-tx-payment/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-asset-tx-payment" version = "4.0.0-dev" authors = ["Parity Technologies "] -edition = "2018" +edition = "2021" license = "Apache-2.0" homepage = "https://substrate.io" repository = "https://github.com/paritytech/substrate/"