From a24d42f0656a536cac17e7c2e1ad177d79f32663 Mon Sep 17 00:00:00 2001 From: bgallois <benjamin@gallois.cc> Date: Thu, 8 Feb 2024 21:01:45 +0100 Subject: [PATCH] harmonize quotes --- client/distance/Cargo.toml | 32 +- distance-oracle/Cargo.toml | 28 +- end2end-tests/Cargo.toml | 30 +- live-tests/Cargo.toml | 12 +- node/Cargo.toml | 96 +++--- pallets/authority-members/Cargo.toml | 64 ++-- pallets/certification/Cargo.toml | 52 +-- pallets/distance/Cargo.toml | 86 ++--- pallets/duniter-account/Cargo.toml | 80 ++--- pallets/duniter-test-parameters/Cargo.toml | 48 +-- .../duniter-test-parameters/macro/Cargo.toml | 6 +- pallets/duniter-wot/Cargo.toml | 76 ++--- pallets/identity/Cargo.toml | 60 ++-- pallets/membership/Cargo.toml | 50 +-- pallets/offences/Cargo.toml | 48 +-- pallets/oneshot-account/Cargo.toml | 58 ++-- pallets/provide-randomness/Cargo.toml | 50 +-- pallets/quota/Cargo.toml | 62 ++-- pallets/session-benchmarking/Cargo.toml | 30 +- pallets/smith-members/Cargo.toml | 58 ++-- pallets/universal-dividend/Cargo.toml | 64 ++-- pallets/upgrade-origin/Cargo.toml | 46 +-- primitives/distance/Cargo.toml | 36 +-- primitives/duniter/Cargo.toml | 10 +- primitives/membership/Cargo.toml | 28 +- resources/weight_analyzer/Cargo.toml | 8 +- runtime/common/Cargo.toml | 214 ++++++------- runtime/g1/Cargo.toml | 288 ++++++++--------- runtime/gdev/Cargo.toml | 302 +++++++++--------- runtime/gtest/Cargo.toml | 288 ++++++++--------- xtask/Cargo.toml | 22 +- 31 files changed, 1166 insertions(+), 1166 deletions(-) diff --git a/client/distance/Cargo.toml b/client/distance/Cargo.toml index 92c4926d9..de750fed6 100644 --- a/client/distance/Cargo.toml +++ b/client/distance/Cargo.toml @@ -2,46 +2,46 @@ edition.workspace = true homepage.workspace = true license.workspace = true -description = 'Duniter client distance' -name = 'dc-distance' -readme = 'README.md' -version = '1.0.0' +description = "Duniter client distance" +name = "dc-distance" +readme = "README.md" +version = "1.0.0" repository.workspace = true [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [features] std = [ - "pallet-distance/std", - "sp-distance/std", + "codec/std", "frame-support/std", "log/std", - "codec/std", + "pallet-distance/std", "scale-info/std", "sp-core/std", + "sp-distance/std", "sp-keystore/std", - "sp-runtime/std" + "sp-runtime/std", ] runtime-benchmarks = [ - 'pallet-distance/runtime-benchmarks', "frame-support/runtime-benchmarks", - "sp-runtime/runtime-benchmarks" + "pallet-distance/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ - 'pallet-distance/try-runtime', - 'sp-distance/try-runtime', "frame-support/try-runtime", - "sp-runtime/try-runtime" + "pallet-distance/try-runtime", + "sp-distance/try-runtime", + "sp-runtime/try-runtime", ] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-support = { workspace = true } log = { workspace = true } pallet-distance = { workspace = true } sc-client-api = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-distance = { workspace = true } sp-keystore = { workspace = true } diff --git a/distance-oracle/Cargo.toml b/distance-oracle/Cargo.toml index 949edee05..14e478bf8 100644 --- a/distance-oracle/Cargo.toml +++ b/distance-oracle/Cargo.toml @@ -1,33 +1,33 @@ [package] -name = 'distance-oracle' -version = '0.1.0' +name = "distance-oracle" +version = "0.1.0" authors.workspace = true repository.workspace = true license.workspace = true edition.workspace = true [[bin]] -name = 'distance-oracle' -required-features = ['standalone'] +name = "distance-oracle" +required-features = ["standalone"] [features] -default = [ 'standalone', 'std' ] -standalone = [ 'clap', 'tokio' ] +default = [ "standalone", "std" ] +standalone = [ "clap", "tokio" ] std = [ "codec/std", "fnv/std", "hex/std", "log/std", "num-traits/std", - 'sp-core/std', - 'sp-distance/std', - 'sp-runtime/std', + "sp-core/std", + "sp-distance/std", + "sp-runtime/std", ] -try-runtime = [ 'sp-distance/try-runtime', "sp-runtime/try-runtime" ] +try-runtime = [ "sp-distance/try-runtime", "sp-runtime/try-runtime" ] runtime-benchmarks = [] [dependencies] -clap = { workspace = true, features = ['derive'], optional = true } +clap = { workspace = true, features = ["derive"], optional = true } codec = { workspace = true } fnv = { workspace = true } hex = { workspace = true } @@ -38,11 +38,11 @@ simple_logger = { workspace = true } sp-core = { workspace = true } sp-distance = { workspace = true } sp-runtime = { workspace = true } -subxt = { workspace = true, features = ['substrate-compat', 'native', 'jsonrpsee'] } -tokio = { workspace = true, features = ['rt-multi-thread','macros'], optional = true } +subxt = { workspace = true, features = ["substrate-compat", "native", "jsonrpsee"] } +tokio = { workspace = true, features = ["rt-multi-thread","macros"], optional = true } [dev-dependencies] bincode = { workspace = true } dubp-wot = { workspace = true } -flate2 = { workspace = true, features = ['zlib-ng-compat',] } +flate2 = { workspace = true, features = ["zlib-ng-compat",] } diff --git a/end2end-tests/Cargo.toml b/end2end-tests/Cargo.toml index 1f55fc819..7f9a7599c 100644 --- a/end2end-tests/Cargo.toml +++ b/end2end-tests/Cargo.toml @@ -1,39 +1,39 @@ [package] authors.workspace = true -description = 'duniter end2end tests' +description = "duniter end2end tests" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'duniter-end2end-tests' +name = "duniter-end2end-tests" repository.workspace = true version.workspace = true [[test]] -name = 'cucumber_tests' +name = "cucumber_tests" harness = false # allows Cucumber to print output instead of libtest [features] -default = ['std'] +default = [ "std" ] std = [ - 'distance-oracle/std', "anyhow/std", - "hex/std", "codec/std", + "distance-oracle/std", + "hex/std", "serde_json/std", - "sp-core/std", "sp-core-hashing/std", + "sp-core/std", "sp-runtime/std", ] -standalone = ['distance-oracle/standalone'] -try-runtime = ['distance-oracle/try-runtime', "sp-runtime/try-runtime"] +standalone = [ "distance-oracle/standalone" ] +try-runtime = [ "distance-oracle/try-runtime", "sp-runtime/try-runtime" ] runtime-benchmarks = [] [dev-dependencies] anyhow = { workspace = true } -clap = { workspace = true, features = ['derive', 'cargo'] } +clap = { workspace = true, features = ["derive", "cargo"] } codec = { workspace = true } ctrlc = { workspace = true } -cucumber = { workspace = true, features = ['macros'] } +cucumber = { workspace = true, features = ["macros"] } distance-oracle = { workspace = true } env_logger = { workspace = true } hex = { workspace = true } @@ -46,8 +46,8 @@ sp-core-hashing = { workspace = true } sp-keyring = { workspace = true } sp-runtime = { workspace = true } subxt = { workspace = true, features = [ - 'substrate-compat', - 'native', - 'jsonrpsee', + "substrate-compat", + "native", + "jsonrpsee", ] } -tokio = { workspace = true, features = ['macros', 'time', 'rt-multi-thread'] } +tokio = { workspace = true, features = ["macros", "time", "rt-multi-thread"] } diff --git a/live-tests/Cargo.toml b/live-tests/Cargo.toml index a941468ab..620bfd4b5 100644 --- a/live-tests/Cargo.toml +++ b/live-tests/Cargo.toml @@ -1,10 +1,10 @@ [package] authors.workspace = true -description = 'duniter live tests' +description = "duniter live tests" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'duniter-live-tests' +name = "duniter-live-tests" repository.workspace = true version.workspace = true @@ -16,11 +16,11 @@ hex-literal = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } subxt = { workspace = true, features = [ - 'substrate-compat', - 'native', - 'jsonrpsee', + "substrate-compat", + "native", + "jsonrpsee", ] } -tokio = { workspace = true, features = ['macros', 'time', 'rt-multi-thread'] } +tokio = { workspace = true, features = ["macros", "time", "rt-multi-thread"] } [features] runtime-benchmarks = [] diff --git a/node/Cargo.toml b/node/Cargo.toml index 9d822b1f1..e1188e522 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,89 +1,87 @@ [package] authors.workspace = true -build = 'build.rs' -description = 'Crypto-currency software (based on Substrate framework) to operate Äž1 libre currency' +build = "build.rs" +description = "Crypto-currency software (based on Substrate framework) to operate Äž1 libre currency" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'duniter' +name = "duniter" repository.workspace = true -version = '0.8.0' -default-run = 'duniter' +version = "0.8.0" +default-run = "duniter" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [[bin]] bench = false -name = 'duniter' -path = 'src/main.rs' +name = "duniter" +path = "src/main.rs" [features] -default = [ 'distance-oracle', 'gdev' ] -gdev = [ 'gdev-runtime', 'std' ] -g1 = [ 'g1-runtime', 'std' ] +default = [ "distance-oracle", "gdev" ] +gdev = [ "gdev-runtime", "std" ] +g1 = [ "g1-runtime", "std" ] constant-fees = [ - 'common-runtime/constant-fees', - 'g1-runtime/constant-fees', - 'gdev-runtime/constant-fees', - 'gtest-runtime/constant-fees', + "common-runtime/constant-fees", + "g1-runtime/constant-fees", + "gdev-runtime/constant-fees", + "gtest-runtime/constant-fees", ] -gtest = [ 'gtest-runtime', 'std' ] +gtest = [ "gtest-runtime", "std" ] embed = [] runtime-benchmarks = [ - 'common-runtime/runtime-benchmarks', - 'dc-distance/runtime-benchmarks', - 'g1-runtime/runtime-benchmarks', - 'gdev-runtime/runtime-benchmarks', - 'gtest-runtime/runtime-benchmarks', - 'sc-client-db/runtime-benchmarks', - "frame-benchmarking/runtime-benchmarks", + "common-runtime/runtime-benchmarks", + "dc-distance/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", + "frame-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", + "g1-runtime/runtime-benchmarks", + "gdev-runtime/runtime-benchmarks", + "gtest-runtime/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", + "sc-client-db/runtime-benchmarks", "sc-service/runtime-benchmarks", - "sp-runtime/runtime-benchmarks" + "sp-runtime/runtime-benchmarks", ] try-runtime = [ - 'common-runtime/try-runtime', - 'dc-distance/try-runtime', - 'distance-oracle?/try-runtime', - 'g1-runtime/try-runtime', - 'gdev-runtime/try-runtime', - 'gtest-runtime/try-runtime', - 'sp-distance/try-runtime', - 'sp-membership/try-runtime', - 'try-runtime-cli', + "common-runtime/try-runtime", + "dc-distance/try-runtime", + "distance-oracle?/try-runtime", "frame-system/try-runtime", + "g1-runtime/try-runtime", + "gdev-runtime/try-runtime", + "gtest-runtime/try-runtime", "pallet-grandpa/try-runtime", "pallet-im-online/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", + "sp-distance/try-runtime", + "sp-membership/try-runtime", "sp-runtime/try-runtime", - "try-runtime-cli?/try-runtime" + "try-runtime-cli", + "try-runtime-cli?/try-runtime", ] std = [ - 'common-runtime/std', - 'dc-distance/std', - 'distance-oracle?/std', - 'g1-runtime/std', - 'gdev-runtime/std', - 'gtest-runtime/std', - 'sp-distance/std', - 'sp-membership/std', "bs58/std", + "common-runtime/std", + "dc-distance/std", + "distance-oracle?/std", "frame-benchmarking/std", "frame-system/std", "futures/std", + "g1-runtime/std", + "gdev-runtime/std", + "gtest-runtime/std", "hex/std", "log/std", "num-format/std", "pallet-grandpa/std", "pallet-im-online/std", - "pallet-transaction-payment/std", "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", "pallet-treasury/std", "sc-executor/std", "serde/std", @@ -94,9 +92,11 @@ std = [ "sp-consensus-babe/std", "sp-consensus-grandpa/std", "sp-core/std", + "sp-distance/std", "sp-inherents/std", "sp-io/std", "sp-keystore/std", + "sp-membership/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", @@ -104,14 +104,14 @@ std = [ "sp-timestamp/std", "sp-transaction-pool/std", "sp-transaction-storage-proof/std", - "sp-trie/std" + "sp-trie/std", ] -standalone = [ 'distance-oracle?/standalone' ] +standalone = [ "distance-oracle?/standalone" ] [dependencies] async-io = { workspace = true } bs58 = { workspace = true } -clap = { workspace = true, features = ['derive'] } +clap = { workspace = true, features = ["derive"] } clap_complete = { workspace = true } common-runtime = { workspace = true } dc-distance = { workspace = true } @@ -119,12 +119,12 @@ distance-oracle = { workspace = true, optional = true } frame-benchmarking = { workspace = true } frame-benchmarking-cli = { workspace = true } frame-system = { workspace = true } -futures = { workspace = true, features = ['compat'] } +futures = { workspace = true, features = ["compat"] } g1-runtime = { workspace = true, optional = true } gdev-runtime = { workspace = true, optional = true } gtest-runtime = { workspace = true, optional = true } hex = { workspace = true } -jsonrpsee = { workspace = true, features = ['server'] } +jsonrpsee = { workspace = true, features = ["server"] } log = { workspace = true } memmap2 = { workspace = true } num-format = { workspace = true } diff --git a/pallets/authority-members/Cargo.toml b/pallets/authority-members/Cargo.toml index 223f031ca..3fb040c74 100644 --- a/pallets/authority-members/Cargo.toml +++ b/pallets/authority-members/Cargo.toml @@ -1,62 +1,62 @@ [package] authors.workspace = true -description = 'duniter pallet authority members' +description = "duniter pallet authority members" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-authority-members' -readme = 'README.md' +name = "pallet-authority-members" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'pallet-offences/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-offences/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "sp-staking/runtime-benchmarks" + "sp-staking/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'log/std', - 'pallet-offences/std', - 'pallet-session/std', - 'scale-info/std', - 'serde/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-staking/std', - 'sp-state-machine/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "log/std", + "pallet-offences/std", + "pallet-session/std", + "scale-info/std", + "serde/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-staking/std", + "sp-state-machine/std", + "sp-std/std", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-offences/try-runtime', - 'pallet-session/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-offences/try-runtime", + "pallet-session/try-runtime", + "sp-runtime/try-runtime", ] [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } log = { workspace = true } pallet-offences = { workspace = true } -pallet-session = { workspace = true, features = ['historical'] } -scale-info = { workspace = true, features = ['derive'] } -serde = { workspace = true, features = ['derive'] } +pallet-session = { workspace = true, features = ["historical"] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-runtime = { workspace = true } sp-staking = { workspace = true } diff --git a/pallets/certification/Cargo.toml b/pallets/certification/Cargo.toml index 62c5288d8..4f9ea15c7 100644 --- a/pallets/certification/Cargo.toml +++ b/pallets/certification/Cargo.toml @@ -1,53 +1,53 @@ [package] authors.workspace = true -description = 'duniter pallet certification' +description = "duniter pallet certification" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-certification' -readme = 'README.md' +name = "pallet-certification" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'duniter-primitives/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'scale-info/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-std/std', - "sp-keystore/std" + "codec/std", + "duniter-primitives/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-keystore/std", + "sp-runtime/std", + "sp-std/std", ] try-runtime = [ - 'duniter-primitives/try-runtime', - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'sp-runtime/try-runtime', + "duniter-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", ] [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } duniter-primitives = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } diff --git a/pallets/distance/Cargo.toml b/pallets/distance/Cargo.toml index b81ab2271..6eb72c178 100644 --- a/pallets/distance/Cargo.toml +++ b/pallets/distance/Cargo.toml @@ -1,74 +1,74 @@ [package] authors.workspace = true -description = 'duniter pallet distance' +description = "duniter pallet distance" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-distance' -readme = 'README.md' +name = "pallet-distance" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-authority-members/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-authority-members/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-authority-members/std', - 'pallet-authorship/std', - 'pallet-balances/std', - 'pallet-identity/std', - 'pallet-session/std', - 'scale-info/std', - 'sp-consensus-babe/std', - 'sp-core/std', - 'sp-distance/std', - 'sp-inherents/std', - 'sp-io/std', - 'sp-keystore/std', - 'sp-runtime/std', - 'sp-std/std', - "getrandom/std" + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "getrandom/std", + "pallet-authority-members/std", + "pallet-authorship/std", + "pallet-balances/std", + "pallet-identity/std", + "pallet-session/std", + "scale-info/std", + "sp-consensus-babe/std", + "sp-core/std", + "sp-distance/std", + "sp-inherents/std", + "sp-io/std", + "sp-keystore/std", + "sp-runtime/std", + "sp-std/std", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-authority-members/try-runtime', - 'pallet-authorship/try-runtime', - 'pallet-balances/try-runtime', - 'pallet-identity/try-runtime', - 'pallet-session/try-runtime', - 'sp-distance/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-authority-members/try-runtime", + "pallet-authorship/try-runtime", + "pallet-balances/try-runtime", + "pallet-identity/try-runtime", + "pallet-session/try-runtime", + "sp-distance/try-runtime", + "sp-runtime/try-runtime", ] [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -getrandom = { workspace = true, features = ['js'] } +getrandom = { workspace = true, features = ["js"] } pallet-authority-members = { workspace = true } pallet-authorship = { workspace = true } pallet-balances = { workspace = true } pallet-identity = { workspace = true } pallet-session = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-consensus-babe = { workspace = true } sp-core = { workspace = true } sp-distance = { workspace = true } diff --git a/pallets/duniter-account/Cargo.toml b/pallets/duniter-account/Cargo.toml index c52594b6a..4e68ad180 100644 --- a/pallets/duniter-account/Cargo.toml +++ b/pallets/duniter-account/Cargo.toml @@ -1,68 +1,68 @@ [package] authors.workspace = true -description = 'duniter pallet for account management' +description = "duniter pallet for account management" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-duniter-account' -readme = 'README.md' +name = "pallet-duniter-account" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = [ 'std' ] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'pallet-quota/runtime-benchmarks', - 'pallet-treasury/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "pallet-quota/runtime-benchmarks", + "pallet-treasury/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'log/std', - 'pallet-balances/std', - 'pallet-identity/std', - 'pallet-quota/std', - 'pallet-transaction-payment/std', - 'pallet-treasury/std', - 'scale-info/std', - 'serde/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "log/std", + "pallet-balances/std", + "pallet-identity/std", + "pallet-quota/std", + "pallet-transaction-payment/std", + "pallet-treasury/std", + "scale-info/std", + "serde/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-balances/try-runtime', - 'pallet-identity/try-runtime', - 'pallet-quota/try-runtime', - 'pallet-transaction-payment/try-runtime', - 'pallet-treasury/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", + "pallet-identity/try-runtime", + "pallet-quota/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-treasury/try-runtime", + "sp-runtime/try-runtime", ] [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] # local pallet-quota = { workspace = true } pallet-identity = { workspace = true } -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } log = { workspace = true } pallet-balances = { workspace = true } pallet-treasury = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } @@ -70,5 +70,5 @@ sp-core = { workspace = true } sp-io = { workspace = true } sp-std = { workspace = true } sp-runtime = { workspace = true } -serde = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ["derive"] } pallet-transaction-payment = { workspace = true } diff --git a/pallets/duniter-test-parameters/Cargo.toml b/pallets/duniter-test-parameters/Cargo.toml index 399392deb..8373c0d7d 100644 --- a/pallets/duniter-test-parameters/Cargo.toml +++ b/pallets/duniter-test-parameters/Cargo.toml @@ -1,51 +1,51 @@ [package] authors.workspace = true -description = 'duniter pallet test parameters' +description = "duniter pallet test parameters" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-duniter-test-parameters' +name = "pallet-duniter-test-parameters" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'scale-info/std', - 'serde/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-std/std', - "sp-core/std" + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "serde/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", ] [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } pallet-duniter-test-parameters-macro = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } -serde = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } diff --git a/pallets/duniter-test-parameters/macro/Cargo.toml b/pallets/duniter-test-parameters/macro/Cargo.toml index 3ae28bb82..9598716a7 100644 --- a/pallets/duniter-test-parameters/macro/Cargo.toml +++ b/pallets/duniter-test-parameters/macro/Cargo.toml @@ -1,10 +1,10 @@ [package] authors.workspace = true -description = 'duniter test parameters macro' +description = "duniter test parameters macro" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-duniter-test-parameters-macro' +name = "pallet-duniter-test-parameters-macro" repository.workspace = true version.workspace = true @@ -14,4 +14,4 @@ proc-macro = true [dependencies] proc-macro2 = { workspace = true, default-features = false } quote = { workspace = true, default-features = false } -syn = { workspace = true, features = ['extra-traits', 'fold', 'full', 'visit'] } +syn = { workspace = true, features = ["extra-traits", "fold", "full", "visit"] } diff --git a/pallets/duniter-wot/Cargo.toml b/pallets/duniter-wot/Cargo.toml index 2bf24e14b..7511419c2 100644 --- a/pallets/duniter-wot/Cargo.toml +++ b/pallets/duniter-wot/Cargo.toml @@ -1,60 +1,60 @@ [package] authors.workspace = true -description = 'duniter pallet for web of trust' +description = "duniter pallet for web of trust" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-duniter-wot' -readme = 'README.md' +name = "pallet-duniter-wot" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-certification/runtime-benchmarks', - 'pallet-distance/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'pallet-membership/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-certification/runtime-benchmarks", + "pallet-distance/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-certification/std', - 'pallet-distance/std', - 'pallet-identity/std', - 'pallet-membership/std', - 'scale-info/std', - 'sp-core/std', - 'sp-io/std', - 'sp-membership/std', - 'sp-runtime/std', - 'sp-state-machine/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "pallet-certification/std", + "pallet-distance/std", + "pallet-identity/std", + "pallet-membership/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-membership/std", + "sp-runtime/std", + "sp-state-machine/std", + "sp-std/std", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-certification/try-runtime', - 'pallet-distance/try-runtime', - 'pallet-identity/try-runtime', - 'pallet-membership/try-runtime', - 'sp-membership/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-certification/try-runtime", + "pallet-distance/try-runtime", + "pallet-identity/try-runtime", + "pallet-membership/try-runtime", + "sp-membership/try-runtime", + "sp-runtime/try-runtime", ] [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } @@ -62,7 +62,7 @@ pallet-certification = { workspace = true } pallet-distance = { workspace = true } pallet-identity = { workspace = true } pallet-membership = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-membership = { workspace = true } diff --git a/pallets/identity/Cargo.toml b/pallets/identity/Cargo.toml index 7a5fe703d..91962e36e 100644 --- a/pallets/identity/Cargo.toml +++ b/pallets/identity/Cargo.toml @@ -1,60 +1,60 @@ [package] authors.workspace = true -description = 'duniter pallet identity' +description = "duniter pallet identity" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-identity' -readme = 'README.md' +name = "pallet-identity" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'duniter-primitives/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'scale-info/std', - 'serde/std', - 'sp-core/std', - 'sp-io/std', - 'sp-keystore/std', - 'sp-runtime/std', - 'sp-state-machine/std', - 'sp-std/std', + "codec/std", + "duniter-primitives/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "serde/std", + "sp-core/std", + "sp-io/std", + "sp-keystore/std", + "sp-runtime/std", + "sp-state-machine/std", + "sp-std/std", ] try-runtime = [ - 'duniter-primitives/try-runtime', - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'sp-runtime/try-runtime', + "duniter-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", ] [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.6.0' } +substrate-wasm-builder = { git = "https://github.com/duniter/duniter-polkadot-sdk", branch = "duniter-substrate-v1.6.0" } [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } duniter-primitives = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } impl-trait-for-tuples = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } -serde = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } diff --git a/pallets/membership/Cargo.toml b/pallets/membership/Cargo.toml index b7381b3d4..a6dfe14a5 100644 --- a/pallets/membership/Cargo.toml +++ b/pallets/membership/Cargo.toml @@ -1,50 +1,50 @@ [package] authors.workspace = true -description = 'duniter pallet membership' +description = "duniter pallet membership" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-membership' -readme = 'README.md' +name = "pallet-membership" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = [ 'std' ] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'scale-info/std', - 'sp-core/std', - 'sp-io/std', - 'sp-membership/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-membership/std", + "sp-runtime/std", + "sp-std/std", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'sp-membership/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-membership/try-runtime", + "sp-runtime/try-runtime", ] [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-membership = { workspace = true } diff --git a/pallets/offences/Cargo.toml b/pallets/offences/Cargo.toml index 935529986..2929b5c0c 100644 --- a/pallets/offences/Cargo.toml +++ b/pallets/offences/Cargo.toml @@ -1,21 +1,21 @@ [package] -name = 'pallet-offences' +name = "pallet-offences" authors.workspace = true -description = 'duniter pallet to handle offences. fork from paritytechnologies offences pallet' +description = "duniter pallet to handle offences. fork from paritytechnologies offences pallet" edition.workspace = true homepage.workspace = true license.workspace = true repository.workspace = true -readme = 'README.md' +readme = "README.md" version.workspace = true [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } log = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } frame-support = { workspace = true } frame-system = { workspace = true } sp-runtime = { workspace = true } @@ -27,27 +27,27 @@ sp-core = { workspace = true } sp-io = { workspace = true } [features] -default = ['std'] +default = [ "std" ] std = [ - 'codec/std', - 'frame-support/std', - 'frame-system/std', - 'log/std', - 'scale-info/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-staking/std', - 'sp-std/std', + "codec/std", + "frame-support/std", + "frame-system/std", + "log/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-staking/std", + "sp-std/std", ] runtime-benchmarks = [ - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', - 'sp-staking/runtime-benchmarks', + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", ] diff --git a/pallets/oneshot-account/Cargo.toml b/pallets/oneshot-account/Cargo.toml index b049b9e65..200385ac3 100644 --- a/pallets/oneshot-account/Cargo.toml +++ b/pallets/oneshot-account/Cargo.toml @@ -1,59 +1,59 @@ [package] authors.workspace = true -description = 'duniter pallet oneshot account' +description = "duniter pallet oneshot account" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-oneshot-account' -readme = 'README.md' +name = "pallet-oneshot-account" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-balances/runtime-benchmarks', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/runtime-benchmarks", "pallet-balances/try-runtime", - "pallet-transaction-payment/try-runtime" + "pallet-transaction-payment/try-runtime", + "sp-runtime/try-runtime", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'log/std', - 'pallet-balances/std', - 'pallet-transaction-payment/std', - 'scale-info/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "log/std", + "pallet-balances/std", + "pallet-transaction-payment/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } log = { workspace = true } pallet-balances = { workspace = true } pallet-transaction-payment = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } diff --git a/pallets/provide-randomness/Cargo.toml b/pallets/provide-randomness/Cargo.toml index 11e045633..561118907 100644 --- a/pallets/provide-randomness/Cargo.toml +++ b/pallets/provide-randomness/Cargo.toml @@ -1,44 +1,44 @@ [package] authors.workspace = true -description = 'duniter pallet to provide randomness to users' +description = "duniter pallet to provide randomness to users" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-provide-randomness' +name = "pallet-provide-randomness" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-balances/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", + "sp-runtime/try-runtime", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-balances/std', - 'scale-info/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] [dependencies] -scale-info = { workspace = true, features = ['derive'] } -codec = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } @@ -50,4 +50,4 @@ pallet-balances = { workspace = true } [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] diff --git a/pallets/quota/Cargo.toml b/pallets/quota/Cargo.toml index 77cf59d85..ba2fec4c6 100644 --- a/pallets/quota/Cargo.toml +++ b/pallets/quota/Cargo.toml @@ -1,58 +1,58 @@ [package] authors.workspace = true -description = 'duniter pallet quota' +description = "duniter pallet quota" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-quota' -readme = 'README.md' +name = "pallet-quota" +readme = "README.md" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-balances/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'pallet-identity/try-runtime', - 'sp-runtime/try-runtime', - "pallet-balances/try-runtime" + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/runtime-benchmarks", + "pallet-balances/try-runtime", + "pallet-identity/runtime-benchmarks", + "pallet-identity/try-runtime", + "sp-runtime/try-runtime", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-balances/std', - 'pallet-identity/std', - 'scale-info/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "pallet-identity/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } pallet-balances = { workspace = true } pallet-identity = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } diff --git a/pallets/session-benchmarking/Cargo.toml b/pallets/session-benchmarking/Cargo.toml index 89df8fb00..cf0865cd9 100644 --- a/pallets/session-benchmarking/Cargo.toml +++ b/pallets/session-benchmarking/Cargo.toml @@ -1,16 +1,16 @@ [package] -name = 'pallet-session-benchmarking' +name = "pallet-session-benchmarking" authors.workspace = true edition.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true -description = 'FRAME sessions pallet benchmarking' -readme = 'README.md' +description = "FRAME sessions pallet benchmarking" +readme = "README.md" version.workspace = true [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] frame-benchmarking = { workspace = true, optional = true } @@ -21,22 +21,22 @@ sp-runtime = { workspace = true } codec = { workspace = true } [features] -default = ['std'] +default = [ "std" ] std = [ - 'frame-benchmarking?/std', - 'frame-system/std', - 'pallet-session/std', "codec/std", + "frame-benchmarking?/std", + "frame-system/std", + "pallet-session/std", "sp-runtime/std", - "sp-std/std" + "sp-std/std", ] try-runtime = [ - 'frame-system/try-runtime', - 'pallet-session/try-runtime', - "sp-runtime/try-runtime" + "frame-system/try-runtime", + "pallet-session/try-runtime", + "sp-runtime/try-runtime", ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - "sp-runtime/runtime-benchmarks" + "frame-benchmarking/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] diff --git a/pallets/smith-members/Cargo.toml b/pallets/smith-members/Cargo.toml index e26a02668..29d09ddfa 100644 --- a/pallets/smith-members/Cargo.toml +++ b/pallets/smith-members/Cargo.toml @@ -1,25 +1,25 @@ [package] -name = 'pallet-smith-members' +name = "pallet-smith-members" authors.workspace = true -description = 'duniter pallet to handle offences' +description = "duniter pallet to handle offences" edition.workspace = true homepage.workspace = true license.workspace = true repository.workspace = true -readme = 'README.md' +readme = "README.md" version.workspace = true [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } log = { workspace = true } pallet-authority-members = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-runtime = { workspace = true } sp-staking = { workspace = true } sp-std = { workspace = true } @@ -30,33 +30,33 @@ sp-core = { workspace = true } sp-io = { workspace = true } [features] -default = ['std'] +default = [ "std" ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'log/std', - 'pallet-authority-members/std', - 'scale-info/std', - 'sp-runtime/std', - 'sp-staking/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "log/std", + "pallet-authority-members/std", + "scale-info/std", "sp-core/std", - "sp-io/std" + "sp-io/std", + "sp-runtime/std", + "sp-staking/std", + "sp-std/std", ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-authority-members/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', - 'sp-staking/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-authority-members/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-authority-members/runtime-benchmarks', - 'pallet-authority-members/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-authority-members/runtime-benchmarks", + "pallet-authority-members/try-runtime", + "sp-runtime/try-runtime", ] diff --git a/pallets/universal-dividend/Cargo.toml b/pallets/universal-dividend/Cargo.toml index cb4104fa0..d99c54dc6 100644 --- a/pallets/universal-dividend/Cargo.toml +++ b/pallets/universal-dividend/Cargo.toml @@ -1,62 +1,62 @@ [package] authors.workspace = true -description = 'duniter pallet universal dividend' +description = "duniter pallet universal dividend" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-universal-dividend' +name = "pallet-universal-dividend" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-timestamp/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-balances/runtime-benchmarks', - 'pallet-timestamp/runtime-benchmarks', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/runtime-benchmarks", "pallet-balances/try-runtime", - "pallet-timestamp/try-runtime" + "pallet-timestamp/runtime-benchmarks", + "pallet-timestamp/try-runtime", + "sp-runtime/try-runtime", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-balances/std', - 'pallet-timestamp/std', - 'scale-info/std', - 'serde/std', - 'sp-arithmetic/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "pallet-timestamp/std", + "scale-info/std", + "serde/std", + "sp-arithmetic/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] ### DOC ### [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive', 'max-encoded-len'] } +codec = { workspace = true, features = ["derive", "max-encoded-len"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } pallet-balances = { workspace = true } pallet-timestamp = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } -serde = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, features = ["derive"] } sp-arithmetic = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } diff --git a/pallets/upgrade-origin/Cargo.toml b/pallets/upgrade-origin/Cargo.toml index b357af7d1..9b70284dc 100644 --- a/pallets/upgrade-origin/Cargo.toml +++ b/pallets/upgrade-origin/Cargo.toml @@ -1,50 +1,50 @@ [package] authors.workspace = true -description = 'duniter pallet to upgrade specified origin to root' +description = "duniter pallet to upgrade specified origin to root" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'pallet-upgrade-origin' +name = "pallet-upgrade-origin" repository.workspace = true version.workspace = true [features] -default = ['std'] +default = [ "std" ] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', - "sp-staking/runtime-benchmarks" + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'sp-runtime/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", ] std = [ - 'codec/std', - 'frame-benchmarking?/std', - 'frame-support/std', - 'frame-system/std', - 'scale-info/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", "sp-core/std", - "sp-staking/std" + "sp-io/std", + "sp-runtime/std", + "sp-staking/std", + "sp-std/std", ] [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-benchmarking = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } diff --git a/primitives/distance/Cargo.toml b/primitives/distance/Cargo.toml index c4ff9b976..69fd6e601 100644 --- a/primitives/distance/Cargo.toml +++ b/primitives/distance/Cargo.toml @@ -1,40 +1,40 @@ [package] authors.workspace = true -description = 'primitives for pallet distance' +description = "primitives for pallet distance" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'sp-distance' -readme = 'README.md' +name = "sp-distance" +readme = "README.md" repository.workspace = true version.workspace = true [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [features] -default = ['std'] +default = [ "std" ] std = [ - 'async-trait', - 'codec/std', - 'frame-support/std', - 'scale-info/std', - 'serde/std', - 'sp-inherents/std', - 'sp-runtime/std', - 'sp-std/std', - 'thiserror', + "async-trait", + "codec/std", + "frame-support/std", + "scale-info/std", + "serde/std", + "sp-inherents/std", + "sp-runtime/std", + "sp-std/std", + "thiserror", ] -try-runtime = ['frame-support/try-runtime', 'sp-runtime/try-runtime'] +try-runtime = [ "frame-support/try-runtime", "sp-runtime/try-runtime" ] runtime-benchmarks = [] [dependencies] async-trait = { workspace = true, optional = true } -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-support = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } -serde = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, features = ["derive"] } sp-inherents = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } diff --git a/primitives/duniter/Cargo.toml b/primitives/duniter/Cargo.toml index 05e4bd3b0..54a681c14 100644 --- a/primitives/duniter/Cargo.toml +++ b/primitives/duniter/Cargo.toml @@ -1,19 +1,19 @@ [package] authors.workspace = true -description = 'primitives for duniter runtime' +description = "primitives for duniter runtime" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'duniter-primitives' -readme = 'README.md' +name = "duniter-primitives" +readme = "README.md" repository.workspace = true version.workspace = true [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [features] -default = ['std'] +default = [ "std" ] std = [] try-runtime = [] diff --git a/primitives/membership/Cargo.toml b/primitives/membership/Cargo.toml index 1f1e73b98..38985157b 100644 --- a/primitives/membership/Cargo.toml +++ b/primitives/membership/Cargo.toml @@ -1,37 +1,37 @@ [package] authors.workspace = true -description = 'primitives for pallet membership' +description = "primitives for pallet membership" edition.workspace = true homepage.workspace = true license.workspace = true -name = 'sp-membership' -readme = 'README.md' +name = "sp-membership" +readme = "README.md" repository.workspace = true version.workspace = true [package.metadata.docs.rs] default-features = false -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [features] -default = ['std'] +default = [ "std" ] std = [ - 'codec/std', - 'frame-support/std', - 'scale-info/std', - 'serde/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "frame-support/std", + "scale-info/std", + "serde/std", + "sp-runtime/std", + "sp-std/std", ] -try-runtime = ['frame-support/try-runtime', 'sp-runtime/try-runtime'] +try-runtime = [ "frame-support/try-runtime", "sp-runtime/try-runtime" ] runtime-benchmarks = [] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } frame-support = { workspace = true } impl-trait-for-tuples = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } diff --git a/resources/weight_analyzer/Cargo.toml b/resources/weight_analyzer/Cargo.toml index fb1b3e443..c33889c44 100644 --- a/resources/weight_analyzer/Cargo.toml +++ b/resources/weight_analyzer/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = 'weight-analyzer' +name = "weight-analyzer" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -8,13 +8,13 @@ repository.workspace = true version.workspace = true [lib] -name = 'weightanalyzer' -path = 'src/lib.rs' +name = "weightanalyzer" +path = "src/lib.rs" [dependencies] convert_case = { workspace = true } glob = { workspace = true } -serde = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ["derive"] } subweight-core = { workspace = true } [features] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index cf2e5c2e1..c9db9228b 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,134 +1,134 @@ [package] -name = 'common-runtime' -description = 'Common code shared between all runtimes' +name = "common-runtime" +description = "Common code shared between all runtimes" license.workspace = true authors.workspace = true edition.workspace = true version.workspace = true [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [features] -default = ['std'] +default = [ "std" ] no_std = [] constant-fees = [] runtime-benchmarks = [ - 'frame-support/runtime-benchmarks', - 'frame-system-benchmarking/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-authority-members/runtime-benchmarks', - 'pallet-babe/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-certification/runtime-benchmarks', - 'pallet-collective/runtime-benchmarks', - 'pallet-distance/runtime-benchmarks', - 'pallet-duniter-account/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'pallet-im-online/runtime-benchmarks', - 'pallet-membership/runtime-benchmarks', - 'pallet-multisig/runtime-benchmarks', - 'pallet-offences/runtime-benchmarks', - 'pallet-oneshot-account/runtime-benchmarks', - 'pallet-preimage/runtime-benchmarks', - 'pallet-provide-randomness/runtime-benchmarks', - 'pallet-proxy/runtime-benchmarks', - 'pallet-quota/runtime-benchmarks', - 'pallet-smith-members/runtime-benchmarks', - 'pallet-treasury/runtime-benchmarks', - 'pallet-universal-dividend/runtime-benchmarks', - 'pallet-upgrade-origin/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system-benchmarking/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-authority-members/runtime-benchmarks", + "pallet-babe/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-certification/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "pallet-distance/runtime-benchmarks", + "pallet-duniter-account/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "pallet-im-online/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", + "pallet-offences/runtime-benchmarks", + "pallet-oneshot-account/runtime-benchmarks", + "pallet-preimage/runtime-benchmarks", + "pallet-provide-randomness/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-quota/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", + "pallet-smith-members/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", + "pallet-treasury/runtime-benchmarks", + "pallet-universal-dividend/runtime-benchmarks", + "pallet-upgrade-origin/runtime-benchmarks", "pallet-utility/runtime-benchmarks", - "sp-staking/runtime-benchmarks" + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", ] std = [ - 'codec/std', - 'duniter-primitives/std', - 'frame-support/std', - 'frame-system-benchmarking?/std', - 'frame-system/std', - 'pallet-authority-members/std', - 'pallet-babe/std', - 'pallet-balances/std', - 'pallet-certification/std', - 'pallet-collective/std', - 'pallet-distance/std', - 'pallet-duniter-account/std', - 'pallet-grandpa/std', - 'pallet-identity/std', - 'pallet-im-online/std', - 'pallet-membership/std', - 'pallet-multisig/std', - 'pallet-offences/std', - 'pallet-oneshot-account/std', - 'pallet-preimage/std', - 'pallet-provide-randomness/std', - 'pallet-proxy/std', - 'pallet-quota/std', - 'pallet-scheduler/std', - 'pallet-session/std', - 'pallet-smith-members/std', - 'pallet-sudo/std', - 'pallet-timestamp/std', - 'pallet-treasury/std', - 'pallet-universal-dividend/std', - 'pallet-upgrade-origin/std', - 'pallet-utility/std', - 'scale-info/std', - 'serde/std', - 'sp-arithmetic/std', - 'sp-consensus-babe/std', - 'sp-core/std', - 'sp-membership/std', - 'sp-runtime/std', - 'sp-staking/std', - 'sp-std/std', - 'sp-weights/std', - "frame-benchmarking/std" + "codec/std", + "duniter-primitives/std", + "frame-benchmarking/std", + "frame-support/std", + "frame-system-benchmarking?/std", + "frame-system/std", + "pallet-authority-members/std", + "pallet-babe/std", + "pallet-balances/std", + "pallet-certification/std", + "pallet-collective/std", + "pallet-distance/std", + "pallet-duniter-account/std", + "pallet-grandpa/std", + "pallet-identity/std", + "pallet-im-online/std", + "pallet-membership/std", + "pallet-multisig/std", + "pallet-offences/std", + "pallet-oneshot-account/std", + "pallet-preimage/std", + "pallet-provide-randomness/std", + "pallet-proxy/std", + "pallet-quota/std", + "pallet-scheduler/std", + "pallet-session/std", + "pallet-smith-members/std", + "pallet-sudo/std", + "pallet-timestamp/std", + "pallet-treasury/std", + "pallet-universal-dividend/std", + "pallet-upgrade-origin/std", + "pallet-utility/std", + "scale-info/std", + "serde/std", + "sp-arithmetic/std", + "sp-consensus-babe/std", + "sp-core/std", + "sp-membership/std", + "sp-runtime/std", + "sp-staking/std", + "sp-std/std", + "sp-weights/std", ] try-runtime = [ - 'duniter-primitives/try-runtime', - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-authority-members/try-runtime', - 'pallet-babe/try-runtime', - 'pallet-balances/try-runtime', - 'pallet-certification/try-runtime', - 'pallet-collective/try-runtime', - 'pallet-distance/try-runtime', - 'pallet-duniter-account/try-runtime', - 'pallet-grandpa/try-runtime', - 'pallet-identity/try-runtime', - 'pallet-im-online/try-runtime', - 'pallet-membership/try-runtime', - 'pallet-multisig/try-runtime', - 'pallet-offences/try-runtime', - 'pallet-oneshot-account/try-runtime', - 'pallet-preimage/try-runtime', - 'pallet-provide-randomness/try-runtime', - 'pallet-proxy/try-runtime', - 'pallet-quota/try-runtime', - 'pallet-scheduler/try-runtime', - 'pallet-session/try-runtime', - 'pallet-smith-members/try-runtime', - 'pallet-sudo/try-runtime', - 'pallet-timestamp/try-runtime', - 'pallet-treasury/try-runtime', - 'pallet-universal-dividend/try-runtime', - 'pallet-upgrade-origin/try-runtime', - 'pallet-utility/try-runtime', - 'sp-membership/try-runtime', - "sp-runtime/try-runtime" + "duniter-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-authority-members/try-runtime", + "pallet-babe/try-runtime", + "pallet-balances/try-runtime", + "pallet-certification/try-runtime", + "pallet-collective/try-runtime", + "pallet-distance/try-runtime", + "pallet-duniter-account/try-runtime", + "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", + "pallet-im-online/try-runtime", + "pallet-membership/try-runtime", + "pallet-multisig/try-runtime", + "pallet-offences/try-runtime", + "pallet-oneshot-account/try-runtime", + "pallet-preimage/try-runtime", + "pallet-provide-randomness/try-runtime", + "pallet-proxy/try-runtime", + "pallet-quota/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session/try-runtime", + "pallet-smith-members/try-runtime", + "pallet-sudo/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-treasury/try-runtime", + "pallet-universal-dividend/try-runtime", + "pallet-upgrade-origin/try-runtime", + "pallet-utility/try-runtime", + "sp-membership/try-runtime", + "sp-runtime/try-runtime", ] [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } duniter-primitives = { workspace = true } frame-benchmarking = { workspace = true } frame-support = { workspace = true } @@ -161,7 +161,7 @@ pallet-treasury = { workspace = true } pallet-universal-dividend = { workspace = true } pallet-upgrade-origin = { workspace = true } pallet-utility = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true } smallvec = { workspace = true } sp-arithmetic = { workspace = true } diff --git a/runtime/g1/Cargo.toml b/runtime/g1/Cargo.toml index f5307d478..3be3fb983 100644 --- a/runtime/g1/Cargo.toml +++ b/runtime/g1/Cargo.toml @@ -3,163 +3,163 @@ authors.workspace = true edition.workspace = true homepage.workspace = true license.workspace = true -name = 'g1-runtime' +name = "g1-runtime" repository.workspace = true version.workspace = true [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [features] -default = ['std'] -constant-fees = ['common-runtime/constant-fees'] +default = [ "std" ] +constant-fees = [ "common-runtime/constant-fees" ] runtime-benchmarks = [ - 'common-runtime/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-authority-members/runtime-benchmarks', - 'pallet-babe/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-certification/runtime-benchmarks', - 'pallet-collective/runtime-benchmarks', - 'pallet-distance/runtime-benchmarks', - 'pallet-duniter-account/runtime-benchmarks', - 'pallet-duniter-wot/runtime-benchmarks', - 'pallet-grandpa/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'pallet-im-online/runtime-benchmarks', - 'pallet-membership/runtime-benchmarks', - 'pallet-multisig/runtime-benchmarks', - 'pallet-offences/runtime-benchmarks', - 'pallet-oneshot-account/runtime-benchmarks', - 'pallet-preimage/runtime-benchmarks', - 'pallet-provide-randomness/runtime-benchmarks', - 'pallet-proxy/runtime-benchmarks', - 'pallet-quota/runtime-benchmarks', - 'pallet-scheduler/runtime-benchmarks', - 'pallet-session-benchmarking/runtime-benchmarks', - 'pallet-smith-members/runtime-benchmarks', - 'pallet-sudo/runtime-benchmarks', - 'pallet-timestamp/runtime-benchmarks', - 'pallet-treasury/runtime-benchmarks', - 'pallet-universal-dividend/runtime-benchmarks', - 'pallet-upgrade-origin/runtime-benchmarks', - 'pallet-utility/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "common-runtime/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", - "sp-staking/runtime-benchmarks" + "frame-system/runtime-benchmarks", + "pallet-authority-members/runtime-benchmarks", + "pallet-babe/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-certification/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "pallet-distance/runtime-benchmarks", + "pallet-duniter-account/runtime-benchmarks", + "pallet-duniter-wot/runtime-benchmarks", + "pallet-grandpa/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "pallet-im-online/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", + "pallet-offences/runtime-benchmarks", + "pallet-oneshot-account/runtime-benchmarks", + "pallet-preimage/runtime-benchmarks", + "pallet-provide-randomness/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-quota/runtime-benchmarks", + "pallet-scheduler/runtime-benchmarks", + "pallet-session-benchmarking/runtime-benchmarks", + "pallet-smith-members/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "pallet-treasury/runtime-benchmarks", + "pallet-universal-dividend/runtime-benchmarks", + "pallet-upgrade-origin/runtime-benchmarks", + "pallet-utility/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", ] std = [ - 'codec/std', - 'common-runtime/std', - 'frame-executive/std', - 'frame-support/std', - 'frame-system-rpc-runtime-api/std', - 'frame-system/std', - 'log/std', - 'node-primitives/std', - 'pallet-atomic-swap/std', - 'pallet-authority-discovery/std', - 'pallet-authority-members/std', - 'pallet-authorship/std', - 'pallet-babe/std', - 'pallet-balances/std', - 'pallet-certification/std', - 'pallet-collective/std', - 'pallet-distance/std', - 'pallet-duniter-account/std', - 'pallet-duniter-wot/std', - 'pallet-grandpa/std', - 'pallet-identity/std', - 'pallet-im-online/std', - 'pallet-membership/std', - 'pallet-multisig/std', - 'pallet-offences/std', - 'pallet-oneshot-account/std', - 'pallet-preimage/std', - 'pallet-provide-randomness/std', - 'pallet-proxy/std', - 'pallet-quota/std', - 'pallet-scheduler/std', - 'pallet-session-benchmarking/std', - 'pallet-session/std', - 'pallet-smith-members/std', - 'pallet-sudo/std', - 'pallet-timestamp/std', - 'pallet-transaction-payment-rpc-runtime-api/std', - 'pallet-transaction-payment/std', - 'pallet-treasury/std', - 'pallet-universal-dividend/std', - 'pallet-upgrade-origin/std', - 'pallet-utility/std', - 'scale-info/std', - 'serde/std', - 'serde_derive', - 'sp-api/std', - 'sp-arithmetic/std', - 'sp-authority-discovery/std', - 'sp-block-builder/std', - 'sp-consensus-babe/std', - 'sp-consensus-grandpa/std', - 'sp-core/std', - 'sp-distance/std', - 'sp-genesis-builder/std', - 'sp-inherents/std', - 'sp-membership/std', - 'sp-offchain/std', - 'sp-runtime/std', - 'sp-session/std', - 'sp-staking/std', - 'sp-std/std', - 'sp-transaction-pool/std', - 'sp-version/std', - 'substrate-wasm-builder', + "codec/std", + "common-runtime/std", "frame-benchmarking/std", - "frame-system-benchmarking/std" + "frame-executive/std", + "frame-support/std", + "frame-system-benchmarking/std", + "frame-system-rpc-runtime-api/std", + "frame-system/std", + "log/std", + "node-primitives/std", + "pallet-atomic-swap/std", + "pallet-authority-discovery/std", + "pallet-authority-members/std", + "pallet-authorship/std", + "pallet-babe/std", + "pallet-balances/std", + "pallet-certification/std", + "pallet-collective/std", + "pallet-distance/std", + "pallet-duniter-account/std", + "pallet-duniter-wot/std", + "pallet-grandpa/std", + "pallet-identity/std", + "pallet-im-online/std", + "pallet-membership/std", + "pallet-multisig/std", + "pallet-offences/std", + "pallet-oneshot-account/std", + "pallet-preimage/std", + "pallet-provide-randomness/std", + "pallet-proxy/std", + "pallet-quota/std", + "pallet-scheduler/std", + "pallet-session-benchmarking/std", + "pallet-session/std", + "pallet-smith-members/std", + "pallet-sudo/std", + "pallet-timestamp/std", + "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", + "pallet-treasury/std", + "pallet-universal-dividend/std", + "pallet-upgrade-origin/std", + "pallet-utility/std", + "scale-info/std", + "serde/std", + "serde_derive", + "sp-api/std", + "sp-arithmetic/std", + "sp-authority-discovery/std", + "sp-block-builder/std", + "sp-consensus-babe/std", + "sp-consensus-grandpa/std", + "sp-core/std", + "sp-distance/std", + "sp-genesis-builder/std", + "sp-inherents/std", + "sp-membership/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-staking/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "substrate-wasm-builder", ] try-runtime = [ - 'common-runtime/try-runtime', - 'frame-executive/try-runtime', - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-atomic-swap/try-runtime', - 'pallet-authority-discovery/try-runtime', - 'pallet-authority-members/try-runtime', - 'pallet-authorship/try-runtime', - 'pallet-babe/try-runtime', - 'pallet-balances/try-runtime', - 'pallet-certification/try-runtime', - 'pallet-collective/try-runtime', - 'pallet-distance/try-runtime', - 'pallet-duniter-account/try-runtime', - 'pallet-duniter-wot/try-runtime', - 'pallet-grandpa/try-runtime', - 'pallet-identity/try-runtime', - 'pallet-im-online/try-runtime', - 'pallet-membership/try-runtime', - 'pallet-multisig/try-runtime', - 'pallet-offences/try-runtime', - 'pallet-oneshot-account/try-runtime', - 'pallet-preimage/try-runtime', - 'pallet-provide-randomness/try-runtime', - 'pallet-proxy/try-runtime', - 'pallet-quota/try-runtime', - 'pallet-scheduler/try-runtime', - 'pallet-session-benchmarking/try-runtime', - 'pallet-session/try-runtime', - 'pallet-smith-members/try-runtime', - 'pallet-sudo/try-runtime', - 'pallet-timestamp/try-runtime', - 'pallet-transaction-payment/try-runtime', - 'pallet-treasury/try-runtime', - 'pallet-universal-dividend/try-runtime', - 'pallet-upgrade-origin/try-runtime', - 'pallet-utility/try-runtime', - 'sp-distance/try-runtime', - 'sp-membership/try-runtime', - "sp-runtime/try-runtime" + "common-runtime/try-runtime", + "frame-executive/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-atomic-swap/try-runtime", + "pallet-authority-discovery/try-runtime", + "pallet-authority-members/try-runtime", + "pallet-authorship/try-runtime", + "pallet-babe/try-runtime", + "pallet-balances/try-runtime", + "pallet-certification/try-runtime", + "pallet-collective/try-runtime", + "pallet-distance/try-runtime", + "pallet-duniter-account/try-runtime", + "pallet-duniter-wot/try-runtime", + "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", + "pallet-im-online/try-runtime", + "pallet-membership/try-runtime", + "pallet-multisig/try-runtime", + "pallet-offences/try-runtime", + "pallet-oneshot-account/try-runtime", + "pallet-preimage/try-runtime", + "pallet-provide-randomness/try-runtime", + "pallet-proxy/try-runtime", + "pallet-quota/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session-benchmarking/try-runtime", + "pallet-session/try-runtime", + "pallet-smith-members/try-runtime", + "pallet-sudo/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-treasury/try-runtime", + "pallet-universal-dividend/try-runtime", + "pallet-upgrade-origin/try-runtime", + "pallet-utility/try-runtime", + "sp-distance/try-runtime", + "sp-membership/try-runtime", + "sp-runtime/try-runtime", ] [dev-dependencies] @@ -169,7 +169,7 @@ sp-staking = { workspace = true } substrate-wasm-builder = { workspace = true, optional = true } [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } common-runtime = { workspace = true } frame-executive = { workspace = true } pallet-session-benchmarking = { workspace = true } @@ -213,7 +213,7 @@ pallet-treasury = { workspace = true } pallet-universal-dividend = { workspace = true } pallet-upgrade-origin = { workspace = true } pallet-utility = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true } serde_derive = { workspace = true, optional = true } sp-api = { workspace = true } diff --git a/runtime/gdev/Cargo.toml b/runtime/gdev/Cargo.toml index ba7d980d0..5dc602f4e 100644 --- a/runtime/gdev/Cargo.toml +++ b/runtime/gdev/Cargo.toml @@ -3,166 +3,166 @@ authors.workspace = true edition.workspace = true homepage.workspace = true license.workspace = true -name = 'gdev-runtime' +name = "gdev-runtime" repository.workspace = true version.workspace = true [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [features] -default = ['std'] -constant-fees = ['common-runtime/constant-fees'] +default = [ "std" ] +constant-fees = [ "common-runtime/constant-fees" ] runtime-benchmarks = [ - 'common-runtime/runtime-benchmarks', - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system-benchmarking/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-authority-members/runtime-benchmarks', - 'pallet-babe/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-certification/runtime-benchmarks', - 'pallet-collective/runtime-benchmarks', - 'pallet-distance/runtime-benchmarks', - 'pallet-duniter-account/runtime-benchmarks', - 'pallet-duniter-test-parameters/runtime-benchmarks', - 'pallet-duniter-wot/runtime-benchmarks', - 'pallet-grandpa/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'pallet-im-online/runtime-benchmarks', - 'pallet-membership/runtime-benchmarks', - 'pallet-multisig/runtime-benchmarks', - 'pallet-offences/runtime-benchmarks', - 'pallet-oneshot-account/runtime-benchmarks', - 'pallet-preimage/runtime-benchmarks', - 'pallet-provide-randomness/runtime-benchmarks', - 'pallet-proxy/runtime-benchmarks', - 'pallet-quota/runtime-benchmarks', - 'pallet-scheduler/runtime-benchmarks', - 'pallet-session-benchmarking/runtime-benchmarks', - 'pallet-smith-members/runtime-benchmarks', - 'pallet-sudo/runtime-benchmarks', - 'pallet-timestamp/runtime-benchmarks', - 'pallet-treasury/runtime-benchmarks', - 'pallet-universal-dividend/runtime-benchmarks', - 'pallet-upgrade-origin/runtime-benchmarks', - 'pallet-utility/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', - "sp-staking/runtime-benchmarks" + "common-runtime/runtime-benchmarks", + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system-benchmarking/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-authority-members/runtime-benchmarks", + "pallet-babe/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-certification/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "pallet-distance/runtime-benchmarks", + "pallet-duniter-account/runtime-benchmarks", + "pallet-duniter-test-parameters/runtime-benchmarks", + "pallet-duniter-wot/runtime-benchmarks", + "pallet-grandpa/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "pallet-im-online/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", + "pallet-offences/runtime-benchmarks", + "pallet-oneshot-account/runtime-benchmarks", + "pallet-preimage/runtime-benchmarks", + "pallet-provide-randomness/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-quota/runtime-benchmarks", + "pallet-scheduler/runtime-benchmarks", + "pallet-session-benchmarking/runtime-benchmarks", + "pallet-smith-members/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "pallet-treasury/runtime-benchmarks", + "pallet-universal-dividend/runtime-benchmarks", + "pallet-upgrade-origin/runtime-benchmarks", + "pallet-utility/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", ] std = [ - 'codec/std', - 'common-runtime/std', - 'frame-benchmarking?/std', - 'frame-executive/std', - 'frame-support/std', - 'frame-system-benchmarking/std', - 'frame-system-rpc-runtime-api/std', - 'frame-system/std', - 'log/std', - 'node-primitives/std', - 'pallet-atomic-swap/std', - 'pallet-authority-discovery/std', - 'pallet-authority-members/std', - 'pallet-authorship/std', - 'pallet-babe/std', - 'pallet-balances/std', - 'pallet-certification/std', - 'pallet-collective/std', - 'pallet-distance/std', - 'pallet-duniter-account/std', - 'pallet-duniter-test-parameters/std', - 'pallet-duniter-wot/std', - 'pallet-grandpa/std', - 'pallet-identity/std', - 'pallet-im-online/std', - 'pallet-membership/std', - 'pallet-multisig/std', - 'pallet-offences/std', - 'pallet-oneshot-account/std', - 'pallet-preimage/std', - 'pallet-provide-randomness/std', - 'pallet-proxy/std', - 'pallet-quota/std', - 'pallet-scheduler/std', - 'pallet-session-benchmarking/std', - 'pallet-session/std', - 'pallet-smith-members/std', - 'pallet-sudo/std', - 'pallet-timestamp/std', - 'pallet-transaction-payment-rpc-runtime-api/std', - 'pallet-transaction-payment/std', - 'pallet-treasury/std', - 'pallet-universal-dividend/std', - 'pallet-upgrade-origin/std', - 'pallet-utility/std', - 'scale-info/std', - 'serde/std', - 'serde_derive', - 'sp-api/std', - 'sp-arithmetic/std', - 'sp-authority-discovery/std', - 'sp-block-builder/std', - 'sp-consensus-babe/std', - 'sp-consensus-grandpa/std', - 'sp-core/std', - 'sp-distance/std', - 'sp-genesis-builder/std', - 'sp-inherents/std', - 'sp-io/std', - 'sp-membership/std', - 'sp-offchain/std', - 'sp-runtime/std', - 'sp-session/std', - 'sp-staking/std', - 'sp-std/std', - 'sp-transaction-pool/std', - 'sp-version/std', - 'substrate-wasm-builder', + "codec/std", + "common-runtime/std", + "frame-benchmarking?/std", + "frame-executive/std", + "frame-support/std", + "frame-system-benchmarking/std", + "frame-system-rpc-runtime-api/std", + "frame-system/std", + "log/std", + "node-primitives/std", + "pallet-atomic-swap/std", + "pallet-authority-discovery/std", + "pallet-authority-members/std", + "pallet-authorship/std", + "pallet-babe/std", + "pallet-balances/std", + "pallet-certification/std", + "pallet-collective/std", + "pallet-distance/std", + "pallet-duniter-account/std", + "pallet-duniter-test-parameters/std", + "pallet-duniter-wot/std", + "pallet-grandpa/std", + "pallet-identity/std", + "pallet-im-online/std", + "pallet-membership/std", + "pallet-multisig/std", + "pallet-offences/std", + "pallet-oneshot-account/std", + "pallet-preimage/std", + "pallet-provide-randomness/std", + "pallet-proxy/std", + "pallet-quota/std", + "pallet-scheduler/std", + "pallet-session-benchmarking/std", + "pallet-session/std", + "pallet-smith-members/std", + "pallet-sudo/std", + "pallet-timestamp/std", + "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", + "pallet-treasury/std", + "pallet-universal-dividend/std", + "pallet-upgrade-origin/std", + "pallet-utility/std", + "scale-info/std", + "serde/std", + "serde_derive", + "sp-api/std", + "sp-arithmetic/std", + "sp-authority-discovery/std", + "sp-block-builder/std", + "sp-consensus-babe/std", + "sp-consensus-grandpa/std", + "sp-core/std", + "sp-distance/std", + "sp-genesis-builder/std", + "sp-inherents/std", + "sp-io/std", + "sp-membership/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-staking/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "substrate-wasm-builder", ] try-runtime = [ - 'common-runtime/try-runtime', - 'frame-executive/try-runtime', - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-atomic-swap/try-runtime', - 'pallet-authority-discovery/try-runtime', - 'pallet-authority-members/try-runtime', - 'pallet-authorship/try-runtime', - 'pallet-babe/try-runtime', - 'pallet-balances/try-runtime', - 'pallet-certification/try-runtime', - 'pallet-collective/try-runtime', - 'pallet-distance/try-runtime', - 'pallet-duniter-account/try-runtime', - 'pallet-duniter-test-parameters/try-runtime', - 'pallet-duniter-wot/try-runtime', - 'pallet-grandpa/try-runtime', - 'pallet-identity/try-runtime', - 'pallet-im-online/try-runtime', - 'pallet-membership/try-runtime', - 'pallet-multisig/try-runtime', - 'pallet-offences/try-runtime', - 'pallet-oneshot-account/try-runtime', - 'pallet-preimage/try-runtime', - 'pallet-provide-randomness/try-runtime', - 'pallet-proxy/try-runtime', - 'pallet-quota/try-runtime', - 'pallet-scheduler/try-runtime', - 'pallet-session-benchmarking/try-runtime', - 'pallet-session/try-runtime', - 'pallet-smith-members/try-runtime', - 'pallet-sudo/try-runtime', - 'pallet-timestamp/try-runtime', - 'pallet-transaction-payment/try-runtime', - 'pallet-treasury/try-runtime', - 'pallet-universal-dividend/try-runtime', - 'pallet-upgrade-origin/try-runtime', - 'pallet-utility/try-runtime', - 'sp-distance/try-runtime', - 'sp-membership/try-runtime', - "sp-runtime/try-runtime" + "common-runtime/try-runtime", + "frame-executive/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-atomic-swap/try-runtime", + "pallet-authority-discovery/try-runtime", + "pallet-authority-members/try-runtime", + "pallet-authorship/try-runtime", + "pallet-babe/try-runtime", + "pallet-balances/try-runtime", + "pallet-certification/try-runtime", + "pallet-collective/try-runtime", + "pallet-distance/try-runtime", + "pallet-duniter-account/try-runtime", + "pallet-duniter-test-parameters/try-runtime", + "pallet-duniter-wot/try-runtime", + "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", + "pallet-im-online/try-runtime", + "pallet-membership/try-runtime", + "pallet-multisig/try-runtime", + "pallet-offences/try-runtime", + "pallet-oneshot-account/try-runtime", + "pallet-preimage/try-runtime", + "pallet-provide-randomness/try-runtime", + "pallet-proxy/try-runtime", + "pallet-quota/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session-benchmarking/try-runtime", + "pallet-session/try-runtime", + "pallet-smith-members/try-runtime", + "pallet-sudo/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-treasury/try-runtime", + "pallet-universal-dividend/try-runtime", + "pallet-upgrade-origin/try-runtime", + "pallet-utility/try-runtime", + "sp-distance/try-runtime", + "sp-membership/try-runtime", + "sp-runtime/try-runtime", ] [dev-dependencies] @@ -174,7 +174,7 @@ sp-staking = { workspace = true } substrate-wasm-builder = { workspace = true, optional = true } [dependencies] -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } common-runtime = { workspace = true } frame-benchmarking = { workspace = true, optional = true } frame-executive = { workspace = true } @@ -220,7 +220,7 @@ pallet-treasury = { workspace = true } pallet-universal-dividend = { workspace = true } pallet-upgrade-origin = { workspace = true } pallet-utility = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true } serde_derive = { workspace = true, optional = true } sp-api = { workspace = true } diff --git a/runtime/gtest/Cargo.toml b/runtime/gtest/Cargo.toml index 27e50eb63..a0b7ac7cd 100644 --- a/runtime/gtest/Cargo.toml +++ b/runtime/gtest/Cargo.toml @@ -3,164 +3,164 @@ authors.workspace = true edition.workspace = true homepage.workspace = true license.workspace = true -name = 'gtest-runtime' +name = "gtest-runtime" repository.workspace = true version.workspace = true [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [features] -default = ['std'] -constant-fees = ['common-runtime/constant-fees'] +default = [ "std" ] +constant-fees = [ "common-runtime/constant-fees" ] runtime-benchmarks = [ - 'common-runtime/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'pallet-authority-members/runtime-benchmarks', - 'pallet-babe/runtime-benchmarks', - 'pallet-balances/runtime-benchmarks', - 'pallet-certification/runtime-benchmarks', - 'pallet-collective/runtime-benchmarks', - 'pallet-distance/runtime-benchmarks', - 'pallet-duniter-account/runtime-benchmarks', - 'pallet-duniter-wot/runtime-benchmarks', - 'pallet-grandpa/runtime-benchmarks', - 'pallet-identity/runtime-benchmarks', - 'pallet-im-online/runtime-benchmarks', - 'pallet-membership/runtime-benchmarks', - 'pallet-multisig/runtime-benchmarks', - 'pallet-offences/runtime-benchmarks', - 'pallet-oneshot-account/runtime-benchmarks', - 'pallet-preimage/runtime-benchmarks', - 'pallet-provide-randomness/runtime-benchmarks', - 'pallet-proxy/runtime-benchmarks', - 'pallet-quota/runtime-benchmarks', - 'pallet-scheduler/runtime-benchmarks', - 'pallet-session-benchmarking/runtime-benchmarks', - 'pallet-smith-members/runtime-benchmarks', - 'pallet-sudo/runtime-benchmarks', - 'pallet-timestamp/runtime-benchmarks', - 'pallet-treasury/runtime-benchmarks', - 'pallet-universal-dividend/runtime-benchmarks', - 'pallet-upgrade-origin/runtime-benchmarks', - 'pallet-utility/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "common-runtime/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", - "sp-staking/runtime-benchmarks" + "frame-system/runtime-benchmarks", + "pallet-authority-members/runtime-benchmarks", + "pallet-babe/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-certification/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "pallet-distance/runtime-benchmarks", + "pallet-duniter-account/runtime-benchmarks", + "pallet-duniter-wot/runtime-benchmarks", + "pallet-grandpa/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "pallet-im-online/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", + "pallet-offences/runtime-benchmarks", + "pallet-oneshot-account/runtime-benchmarks", + "pallet-preimage/runtime-benchmarks", + "pallet-provide-randomness/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-quota/runtime-benchmarks", + "pallet-scheduler/runtime-benchmarks", + "pallet-session-benchmarking/runtime-benchmarks", + "pallet-smith-members/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "pallet-treasury/runtime-benchmarks", + "pallet-universal-dividend/runtime-benchmarks", + "pallet-upgrade-origin/runtime-benchmarks", + "pallet-utility/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", ] std = [ - 'codec/std', - 'common-runtime/std', - 'frame-executive/std', - 'frame-support/std', - 'frame-system-rpc-runtime-api/std', - 'frame-system/std', - 'log/std', - 'node-primitives/std', - 'pallet-atomic-swap/std', - 'pallet-authority-discovery/std', - 'pallet-authority-members/std', - 'pallet-authorship/std', - 'pallet-babe/std', - 'pallet-balances/std', - 'pallet-certification/std', - 'pallet-collective/std', - 'pallet-distance/std', - 'pallet-duniter-account/std', - 'pallet-duniter-wot/std', - 'pallet-grandpa/std', - 'pallet-identity/std', - 'pallet-im-online/std', - 'pallet-membership/std', - 'pallet-multisig/std', - 'pallet-offences/std', - 'pallet-oneshot-account/std', - 'pallet-preimage/std', - 'pallet-provide-randomness/std', - 'pallet-proxy/std', - 'pallet-quota/std', - 'pallet-scheduler/std', - 'pallet-session-benchmarking/std', - 'pallet-session/std', - 'pallet-smith-members/std', - 'pallet-sudo/std', - 'pallet-timestamp/std', - 'pallet-transaction-payment-rpc-runtime-api/std', - 'pallet-transaction-payment/std', - 'pallet-treasury/std', - 'pallet-universal-dividend/std', - 'pallet-upgrade-origin/std', - 'pallet-utility/std', - 'scale-info/std', - 'serde/std', - 'serde_derive', - 'sp-api/std', - 'sp-arithmetic/std', - 'sp-authority-discovery/std', - 'sp-block-builder/std', - 'sp-consensus-babe/std', - 'sp-consensus-grandpa/std', - 'sp-core/std', - 'sp-distance/std', - 'sp-genesis-builder/std', - 'sp-inherents/std', - 'sp-membership/std', - 'sp-offchain/std', - 'sp-runtime/std', - 'sp-session/std', - 'sp-staking/std', - 'sp-std/std', - 'sp-transaction-pool/std', - 'sp-version/std', - 'substrate-wasm-builder', + "codec/std", + "common-runtime/std", "frame-benchmarking/std", + "frame-executive/std", + "frame-support/std", "frame-system-benchmarking/std", - "frame-try-runtime?/std" + "frame-system-rpc-runtime-api/std", + "frame-system/std", + "frame-try-runtime?/std", + "log/std", + "node-primitives/std", + "pallet-atomic-swap/std", + "pallet-authority-discovery/std", + "pallet-authority-members/std", + "pallet-authorship/std", + "pallet-babe/std", + "pallet-balances/std", + "pallet-certification/std", + "pallet-collective/std", + "pallet-distance/std", + "pallet-duniter-account/std", + "pallet-duniter-wot/std", + "pallet-grandpa/std", + "pallet-identity/std", + "pallet-im-online/std", + "pallet-membership/std", + "pallet-multisig/std", + "pallet-offences/std", + "pallet-oneshot-account/std", + "pallet-preimage/std", + "pallet-provide-randomness/std", + "pallet-proxy/std", + "pallet-quota/std", + "pallet-scheduler/std", + "pallet-session-benchmarking/std", + "pallet-session/std", + "pallet-smith-members/std", + "pallet-sudo/std", + "pallet-timestamp/std", + "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", + "pallet-treasury/std", + "pallet-universal-dividend/std", + "pallet-upgrade-origin/std", + "pallet-utility/std", + "scale-info/std", + "serde/std", + "serde_derive", + "sp-api/std", + "sp-arithmetic/std", + "sp-authority-discovery/std", + "sp-block-builder/std", + "sp-consensus-babe/std", + "sp-consensus-grandpa/std", + "sp-core/std", + "sp-distance/std", + "sp-genesis-builder/std", + "sp-inherents/std", + "sp-membership/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-staking/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "substrate-wasm-builder", ] try-runtime = [ - 'common-runtime/try-runtime', - 'frame-executive/try-runtime', - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-atomic-swap/try-runtime', - 'pallet-authority-discovery/try-runtime', - 'pallet-authority-members/try-runtime', - 'pallet-authorship/try-runtime', - 'pallet-babe/try-runtime', - 'pallet-balances/try-runtime', - 'pallet-certification/try-runtime', - 'pallet-collective/try-runtime', - 'pallet-distance/try-runtime', - 'pallet-duniter-account/try-runtime', - 'pallet-duniter-wot/try-runtime', - 'pallet-grandpa/try-runtime', - 'pallet-identity/try-runtime', - 'pallet-im-online/try-runtime', - 'pallet-membership/try-runtime', - 'pallet-multisig/try-runtime', - 'pallet-offences/try-runtime', - 'pallet-oneshot-account/try-runtime', - 'pallet-preimage/try-runtime', - 'pallet-provide-randomness/try-runtime', - 'pallet-proxy/try-runtime', - 'pallet-quota/try-runtime', - 'pallet-scheduler/try-runtime', - 'pallet-session-benchmarking/try-runtime', - 'pallet-session/try-runtime', - 'pallet-smith-members/try-runtime', - 'pallet-sudo/try-runtime', - 'pallet-timestamp/try-runtime', - 'pallet-transaction-payment/try-runtime', - 'pallet-treasury/try-runtime', - 'pallet-universal-dividend/try-runtime', - 'pallet-upgrade-origin/try-runtime', - 'pallet-utility/try-runtime', - 'sp-distance/try-runtime', - 'sp-membership/try-runtime', + "common-runtime/try-runtime", + "frame-executive/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", "frame-try-runtime?/try-runtime", - "sp-runtime/try-runtime" + "pallet-atomic-swap/try-runtime", + "pallet-authority-discovery/try-runtime", + "pallet-authority-members/try-runtime", + "pallet-authorship/try-runtime", + "pallet-babe/try-runtime", + "pallet-balances/try-runtime", + "pallet-certification/try-runtime", + "pallet-collective/try-runtime", + "pallet-distance/try-runtime", + "pallet-duniter-account/try-runtime", + "pallet-duniter-wot/try-runtime", + "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", + "pallet-im-online/try-runtime", + "pallet-membership/try-runtime", + "pallet-multisig/try-runtime", + "pallet-offences/try-runtime", + "pallet-oneshot-account/try-runtime", + "pallet-preimage/try-runtime", + "pallet-provide-randomness/try-runtime", + "pallet-proxy/try-runtime", + "pallet-quota/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session-benchmarking/try-runtime", + "pallet-session/try-runtime", + "pallet-smith-members/try-runtime", + "pallet-sudo/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-treasury/try-runtime", + "pallet-universal-dividend/try-runtime", + "pallet-upgrade-origin/try-runtime", + "pallet-utility/try-runtime", + "sp-distance/try-runtime", + "sp-membership/try-runtime", + "sp-runtime/try-runtime", ] [dev-dependencies] @@ -214,7 +214,7 @@ pallet-treasury = { workspace = true } pallet-universal-dividend = { workspace = true } pallet-upgrade-origin = { workspace = true } pallet-utility = { workspace = true } -scale-info = { workspace = true, features = ['derive'] } +scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true } serde_derive = { workspace = true, optional = true } sp-api = { workspace = true } @@ -235,4 +235,4 @@ sp-transaction-pool = { workspace = true } sp-version = { workspace = true } sp-genesis-builder = { workspace = true } node-primitives = { workspace = true } -codec = { workspace = true, features = ['derive'] } +codec = { workspace = true, features = ["derive"] } diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index de3844d52..6540c695d 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -1,33 +1,33 @@ [package] authors.workspace = true -description = 'Duniter-v2s xtask' +description = "Duniter-v2s xtask" edition.workspace = true license.workspace = true -name = 'xtask' +name = "xtask" repository.workspace = true -version = '0.1.0' +version = "0.1.0" [[bin]] bench = false -path = 'src/main.rs' -name = 'xtask' +path = "src/main.rs" +name = "xtask" [dependencies] anyhow = { workspace = true } -clap = { workspace = true, features = ['derive'] } -codec = { workspace = true, features = ['derive', 'full', 'bit-vec'] } +clap = { workspace = true, features = ["derive"] } +codec = { workspace = true, features = ["derive", "full", "bit-vec"] } frame-metadata = { workspace = true } graphql_client = { workspace = true } hex = { workspace = true } memmap2 = { workspace = true } placeholder = { workspace = true } -reqwest = { workspace = true, features = ['json'] } -scale-info = { workspace = true, features = ['bit-vec'] } +reqwest = { workspace = true, features = ["json"] } +scale-info = { workspace = true, features = ["bit-vec"] } scale-value = { workspace = true } -serde = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } tera = { workspace = true } -tokio = { workspace = true, features = ['macros'] } +tokio = { workspace = true, features = ["macros"] } version_check = { workspace = true } weight-analyzer = { workspace = true } -- GitLab