diff --git a/client/distance/Cargo.toml b/client/distance/Cargo.toml index de750fed6c995a5c5aa8ce3d9052499824356610..96e1ea49288de9b155a5f0c196cc481e55bd6673 100644 --- a/client/distance/Cargo.toml +++ b/client/distance/Cargo.toml @@ -37,13 +37,13 @@ try-runtime = [ [dependencies] codec = { workspace = true, features = ["derive"] } -frame-support = { workspace = true } -log = { workspace = true } +frame-support = { workspace = true } +log = { workspace = true } pallet-distance = { workspace = true } -sc-client-api = { workspace = true } +sc-client-api = { workspace = true } scale-info = { workspace = true, features = ["derive"] } -sp-core = { workspace = true } +sp-core = { workspace = true } sp-distance = { workspace = true } -sp-keystore = { workspace = true } -sp-runtime = { workspace = true } -thiserror = { workspace = true } +sp-keystore = { workspace = true } +sp-runtime = { workspace = true } +thiserror = { workspace = true } diff --git a/distance-oracle/Cargo.toml b/distance-oracle/Cargo.toml index 14e478bf8b98ab88ff2bd08639d68461dd287f96..3f7614e3e36e6ddd85b76bf55a5df00e11bd59c1 100644 --- a/distance-oracle/Cargo.toml +++ b/distance-oracle/Cargo.toml @@ -11,8 +11,8 @@ name = "distance-oracle" required-features = ["standalone"] [features] -default = [ "standalone", "std" ] -standalone = [ "clap", "tokio" ] +default = ["standalone", "std"] +standalone = ["clap", "tokio"] std = [ "codec/std", "fnv/std", @@ -23,7 +23,7 @@ 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] @@ -38,11 +38,17 @@ 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 7f9a7599cd60bbb449baa5cdc1362683ee46ecbb..d045afbb890d7429f99f0cb14e798b5ef738795a 100644 --- a/end2end-tests/Cargo.toml +++ b/end2end-tests/Cargo.toml @@ -13,7 +13,7 @@ name = "cucumber_tests" harness = false # allows Cucumber to print output instead of libtest [features] -default = [ "std" ] +default = ["std"] std = [ "anyhow/std", "codec/std", @@ -24,8 +24,8 @@ 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] diff --git a/node/Cargo.toml b/node/Cargo.toml index e1188e522337a7020cdf4aba3ac267f982a88d38..35f856a5788f992ebb5d9b0be65171c2a5eb591a 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -19,16 +19,16 @@ 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", ] -gtest = [ "gtest-runtime", "std" ] +gtest = ["gtest-runtime", "std"] embed = [] runtime-benchmarks = [ "common-runtime/runtime-benchmarks", @@ -106,7 +106,7 @@ std = [ "sp-transaction-storage-proof/std", "sp-trie/std", ] -standalone = [ "distance-oracle?/standalone" ] +standalone = ["distance-oracle?/standalone"] [dependencies] async-io = { workspace = true } @@ -186,4 +186,3 @@ substrate-build-script-utils = { workspace = true } sc-cli = { workspace = true } sc-service = { workspace = true } sp-trie = { workspace = true } - diff --git a/pallets/authority-members/Cargo.toml b/pallets/authority-members/Cargo.toml index 3fb040c7457b2acd89cff335ca0e3a8271b6dcee..2e3aa3a14701a2d6e84086fe6ef47f4b73575ccb 100644 --- a/pallets/authority-members/Cargo.toml +++ b/pallets/authority-members/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/certification/Cargo.toml b/pallets/certification/Cargo.toml index 4f9ea15c7e994a8237ff911460494ef9ed0e1c03..eff126ff965729be10b2f487ec5ffa34b6b54ac3 100644 --- a/pallets/certification/Cargo.toml +++ b/pallets/certification/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/distance/Cargo.toml b/pallets/distance/Cargo.toml index 6eb72c17851d6f9aa311c740ffaf969f8ce4a265..a878035017afde01f5de90b182930280123502fd 100644 --- a/pallets/distance/Cargo.toml +++ b/pallets/distance/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/duniter-account/Cargo.toml b/pallets/duniter-account/Cargo.toml index 4e68ad180df915c938d4282582680d3f09704c46..6b0737d783019605791004815da0c68f28097bd4 100644 --- a/pallets/duniter-account/Cargo.toml +++ b/pallets/duniter-account/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/duniter-test-parameters/Cargo.toml b/pallets/duniter-test-parameters/Cargo.toml index 8373c0d7dccc152f26c457757a4b1fb2234d964a..735c973357204e65c0b1e327412f5c8a49360306 100644 --- a/pallets/duniter-test-parameters/Cargo.toml +++ b/pallets/duniter-test-parameters/Cargo.toml @@ -9,7 +9,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/duniter-wot/Cargo.toml b/pallets/duniter-wot/Cargo.toml index 7511419c2a5586598f00de2ebbb1a53f352b99fa..dd247896ebd67929680cdc85cc248b684023a654 100644 --- a/pallets/duniter-wot/Cargo.toml +++ b/pallets/duniter-wot/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/identity/Cargo.toml b/pallets/identity/Cargo.toml index 91962e36efd92a0594e028e6f5003fb9b30f9de5..4cbd9dab004bf0df6b07c598437d7024e83a2e91 100644 --- a/pallets/identity/Cargo.toml +++ b/pallets/identity/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/membership/Cargo.toml b/pallets/membership/Cargo.toml index a6dfe14a5728bf129319039999817c4b4d4a4aa9..e33045ca98b3f71de1a1c0149e17eb3be9c215d3 100644 --- a/pallets/membership/Cargo.toml +++ b/pallets/membership/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/offences/Cargo.toml b/pallets/offences/Cargo.toml index 2929b5c0cf70c3d8c173ddc6c7ade5c152f1906e..ccc57523e523a7dd5c60aed1d4b82e2415483c77 100644 --- a/pallets/offences/Cargo.toml +++ b/pallets/offences/Cargo.toml @@ -27,7 +27,7 @@ sp-core = { workspace = true } sp-io = { workspace = true } [features] -default = [ "std" ] +default = ["std"] std = [ "codec/std", "frame-support/std", diff --git a/pallets/oneshot-account/Cargo.toml b/pallets/oneshot-account/Cargo.toml index 200385ac3f0aa5ae0a6eb07923424591e8d6c5dc..d019ccef62160a32576c5be677050be6254143af 100644 --- a/pallets/oneshot-account/Cargo.toml +++ b/pallets/oneshot-account/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/provide-randomness/Cargo.toml b/pallets/provide-randomness/Cargo.toml index 5611189073f80975c34c931aa3e05c90640f569e..c16ed1399689885cc69be3f0eabebceb2b1e2be9 100644 --- a/pallets/provide-randomness/Cargo.toml +++ b/pallets/provide-randomness/Cargo.toml @@ -9,7 +9,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/quota/Cargo.toml b/pallets/quota/Cargo.toml index ba2fec4c608f1864cf2907484b28e438aa587b1d..3c92a89ec438d823a34d91fe3a6eacaaf77b4adc 100644 --- a/pallets/quota/Cargo.toml +++ b/pallets/quota/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/session-benchmarking/Cargo.toml b/pallets/session-benchmarking/Cargo.toml index cf0865cd9fe87b499000c75913e0d2a103cd0885..3da6b64a6edc96811e58a6ae367922d750305869 100644 --- a/pallets/session-benchmarking/Cargo.toml +++ b/pallets/session-benchmarking/Cargo.toml @@ -21,7 +21,7 @@ sp-runtime = { workspace = true } codec = { workspace = true } [features] -default = [ "std" ] +default = ["std"] std = [ "codec/std", "frame-benchmarking?/std", diff --git a/pallets/smith-members/Cargo.toml b/pallets/smith-members/Cargo.toml index 29d09ddfa99f7efb06fa0331a8616e46fb6c8b4a..651a62a8a77f543bfaf71ee4b09128a424c30844 100644 --- a/pallets/smith-members/Cargo.toml +++ b/pallets/smith-members/Cargo.toml @@ -30,7 +30,7 @@ sp-core = { workspace = true } sp-io = { workspace = true } [features] -default = [ "std" ] +default = ["std"] std = [ "codec/std", "frame-benchmarking?/std", diff --git a/pallets/universal-dividend/Cargo.toml b/pallets/universal-dividend/Cargo.toml index d99c54dc62effc63f4f9ddc83e790526df124baf..5fdfc69f5e85236bb3ec576abc7247b3052c4fad 100644 --- a/pallets/universal-dividend/Cargo.toml +++ b/pallets/universal-dividend/Cargo.toml @@ -9,7 +9,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/pallets/upgrade-origin/Cargo.toml b/pallets/upgrade-origin/Cargo.toml index 9b70284dc51ec9eb04af5d0adacfa06dab17ca36..b1f08f0bced4e8a5baac966d5b1a5677cb41dd15 100644 --- a/pallets/upgrade-origin/Cargo.toml +++ b/pallets/upgrade-origin/Cargo.toml @@ -9,7 +9,7 @@ repository.workspace = true version.workspace = true [features] -default = [ "std" ] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/primitives/distance/Cargo.toml b/primitives/distance/Cargo.toml index 69fd6e601237a78ab3e92ad05e4f0c8dce19b376..9c035c38be1091c0d33dbbea6069c0ec0860756c 100644 --- a/primitives/distance/Cargo.toml +++ b/primitives/distance/Cargo.toml @@ -14,7 +14,7 @@ default-features = false targets = ["x86_64-unknown-linux-gnu"] [features] -default = [ "std" ] +default = ["std"] std = [ "async-trait", "codec/std", @@ -26,7 +26,7 @@ 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] diff --git a/primitives/duniter/Cargo.toml b/primitives/duniter/Cargo.toml index 54a681c1409962dcb3cc99b0f2b3977aab5117af..0dc499ff35a884ade61a3ff9b2b18e8edc51bde0 100644 --- a/primitives/duniter/Cargo.toml +++ b/primitives/duniter/Cargo.toml @@ -14,6 +14,6 @@ default-features = false 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 38985157b57b6b6807d1db9bb7e6270ac6700f41..0a79733901f4d79ddcc017acbe669a4ef595a6dc 100644 --- a/primitives/membership/Cargo.toml +++ b/primitives/membership/Cargo.toml @@ -14,7 +14,7 @@ default-features = false targets = ["x86_64-unknown-linux-gnu"] [features] -default = [ "std" ] +default = ["std"] std = [ "codec/std", "frame-support/std", @@ -23,7 +23,7 @@ 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] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index c9db9228b43ad10366b80d596ba14c0fcc6c66c6..4dae708319da060ab31d88f70a9f7ff399b6a4e8 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -10,7 +10,7 @@ version.workspace = true targets = ["x86_64-unknown-linux-gnu"] [features] -default = [ "std" ] +default = ["std"] no_std = [] constant-fees = [] runtime-benchmarks = [ diff --git a/runtime/g1/Cargo.toml b/runtime/g1/Cargo.toml index 3be3fb983ec11f48a5a5d5e932cbf834218db1da..76c98358b332ebbdd5e5289daf76d18bf2a39775 100644 --- a/runtime/g1/Cargo.toml +++ b/runtime/g1/Cargo.toml @@ -12,8 +12,8 @@ version.workspace = true 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", diff --git a/runtime/gdev/Cargo.toml b/runtime/gdev/Cargo.toml index 5dc602f4efa90be50099d12be45fc7b119ec622e..ef804b7e94e0c75568108ba79655475c39aa64ea 100644 --- a/runtime/gdev/Cargo.toml +++ b/runtime/gdev/Cargo.toml @@ -11,8 +11,8 @@ version.workspace = true 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", diff --git a/runtime/gtest/Cargo.toml b/runtime/gtest/Cargo.toml index a0b7ac7cd9b8f1a9ad88efcd0d0098ed32ee9de9..2b7cbbcc1edcc490efac4a91f96e4d980a7d180d 100644 --- a/runtime/gtest/Cargo.toml +++ b/runtime/gtest/Cargo.toml @@ -11,8 +11,8 @@ version.workspace = true 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", diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 6540c695d74d9dc6434b062d9236c3569bbffaf0..4226040fdcbd1b576f9d3179994e17ca04fb785a 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -17,18 +17,18 @@ anyhow = { workspace = true } 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 } +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"] } -scale-value = { workspace = true } +scale-value = { workspace = true } serde = { workspace = true, features = ["derive"] } -serde_json = { workspace = true } +serde_json = { workspace = true } tera = { workspace = true } tokio = { workspace = true, features = ["macros"] } -version_check = { workspace = true } +version_check = { workspace = true } weight-analyzer = { workspace = true } [features]