diff --git a/Cargo.toml b/Cargo.toml index 69ffff3eb..fc661507f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,7 @@ resolver = "2" [workspace.package] version = "2.30.0" authors = ["Acala Developers"] +edition = "2021" [profile.dev] split-debuginfo = "unpacked" diff --git a/modules/aggregated-dex/Cargo.toml b/modules/aggregated-dex/Cargo.toml index b44858521..fdd533470 100644 --- a/modules/aggregated-dex/Cargo.toml +++ b/modules/aggregated-dex/Cargo.toml @@ -2,7 +2,7 @@ name = "module-aggregated-dex" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } diff --git a/modules/asset-registry/Cargo.toml b/modules/asset-registry/Cargo.toml index ca57836d0..ac8fbfe82 100644 --- a/modules/asset-registry/Cargo.toml +++ b/modules/asset-registry/Cargo.toml @@ -2,7 +2,7 @@ name = "module-asset-registry" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/auction-manager/Cargo.toml b/modules/auction-manager/Cargo.toml index e327e52d3..f416d9331 100644 --- a/modules/auction-manager/Cargo.toml +++ b/modules/auction-manager/Cargo.toml @@ -2,7 +2,7 @@ name = "module-auction-manager" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/cdp-engine/Cargo.toml b/modules/cdp-engine/Cargo.toml index d4360e6a5..aefe5319e 100644 --- a/modules/cdp-engine/Cargo.toml +++ b/modules/cdp-engine/Cargo.toml @@ -2,7 +2,7 @@ name = "module-cdp-engine" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/cdp-treasury/Cargo.toml b/modules/cdp-treasury/Cargo.toml index 8e7e06caf..0cf291d2c 100644 --- a/modules/cdp-treasury/Cargo.toml +++ b/modules/cdp-treasury/Cargo.toml @@ -2,7 +2,7 @@ name = "module-cdp-treasury" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/collator-selection/Cargo.toml b/modules/collator-selection/Cargo.toml index 7f769517e..14c7c0115 100644 --- a/modules/collator-selection/Cargo.toml +++ b/modules/collator-selection/Cargo.toml @@ -2,7 +2,7 @@ name = 'module-collator-selection' version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/modules/currencies/Cargo.toml b/modules/currencies/Cargo.toml index d91eef99e..6a89371bc 100644 --- a/modules/currencies/Cargo.toml +++ b/modules/currencies/Cargo.toml @@ -2,7 +2,7 @@ name = "module-currencies" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true } diff --git a/modules/currencies/runtime-api/Cargo.toml b/modules/currencies/runtime-api/Cargo.toml index 7e196d1ce..dcbaab99b 100644 --- a/modules/currencies/runtime-api/Cargo.toml +++ b/modules/currencies/runtime-api/Cargo.toml @@ -2,7 +2,7 @@ name = "module-currencies-runtime-api" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] sp-runtime = { workspace = true } diff --git a/modules/dex-oracle/Cargo.toml b/modules/dex-oracle/Cargo.toml index 2877354d9..20f69850d 100644 --- a/modules/dex-oracle/Cargo.toml +++ b/modules/dex-oracle/Cargo.toml @@ -2,7 +2,7 @@ name = "module-dex-oracle" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } diff --git a/modules/dex/Cargo.toml b/modules/dex/Cargo.toml index fcb7623e0..b1f5c9a8c 100644 --- a/modules/dex/Cargo.toml +++ b/modules/dex/Cargo.toml @@ -2,7 +2,7 @@ name = "module-dex" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/earning/Cargo.toml b/modules/earning/Cargo.toml index faf366d3b..13aae7569 100644 --- a/modules/earning/Cargo.toml +++ b/modules/earning/Cargo.toml @@ -2,7 +2,7 @@ name = "module-earning" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true } diff --git a/modules/emergency-shutdown/Cargo.toml b/modules/emergency-shutdown/Cargo.toml index 5196d1db3..8823f8b3b 100644 --- a/modules/emergency-shutdown/Cargo.toml +++ b/modules/emergency-shutdown/Cargo.toml @@ -2,7 +2,7 @@ name = "module-emergency-shutdown" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true } diff --git a/modules/evm-accounts/Cargo.toml b/modules/evm-accounts/Cargo.toml index 17d6ac8d7..9320220dc 100644 --- a/modules/evm-accounts/Cargo.toml +++ b/modules/evm-accounts/Cargo.toml @@ -2,7 +2,7 @@ name = "module-evm-accounts" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true } diff --git a/modules/evm-bridge/Cargo.toml b/modules/evm-bridge/Cargo.toml index 311002fd1..8c3ef0b74 100644 --- a/modules/evm-bridge/Cargo.toml +++ b/modules/evm-bridge/Cargo.toml @@ -2,7 +2,7 @@ name = "module-evm-bridge" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/modules/evm-utility/Cargo.toml b/modules/evm-utility/Cargo.toml index 9f38179f5..f3e95fa82 100644 --- a/modules/evm-utility/Cargo.toml +++ b/modules/evm-utility/Cargo.toml @@ -2,7 +2,7 @@ name = "module-evm-utility" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] sha3 = { workspace = true } diff --git a/modules/evm-utility/macro/Cargo.toml b/modules/evm-utility/macro/Cargo.toml index 74320a31c..57c695eee 100644 --- a/modules/evm-utility/macro/Cargo.toml +++ b/modules/evm-utility/macro/Cargo.toml @@ -2,7 +2,7 @@ name = "module-evm-utility-macro" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [lib] proc-macro = true diff --git a/modules/evm/Cargo.toml b/modules/evm/Cargo.toml index 4cffbb6c4..481624e68 100644 --- a/modules/evm/Cargo.toml +++ b/modules/evm/Cargo.toml @@ -2,7 +2,7 @@ name = "module-evm" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [[bench]] name = "orml_benches" diff --git a/modules/evm/rpc/runtime-api/Cargo.toml b/modules/evm/rpc/runtime-api/Cargo.toml index 386321938..8560f22ef 100644 --- a/modules/evm/rpc/runtime-api/Cargo.toml +++ b/modules/evm/rpc/runtime-api/Cargo.toml @@ -2,7 +2,7 @@ name = "module-evm-rpc-runtime-api" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] sp-runtime = { workspace = true } diff --git a/modules/homa-validator-list/Cargo.toml b/modules/homa-validator-list/Cargo.toml index bc06c29ac..34f304bc4 100644 --- a/modules/homa-validator-list/Cargo.toml +++ b/modules/homa-validator-list/Cargo.toml @@ -2,7 +2,7 @@ name = "module-homa-validator-list" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] serde = { workspace = true, features = ["std"], optional = true } diff --git a/modules/homa/Cargo.toml b/modules/homa/Cargo.toml index b81f5a844..46c568152 100644 --- a/modules/homa/Cargo.toml +++ b/modules/homa/Cargo.toml @@ -2,7 +2,7 @@ name = "module-homa" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/honzon-bridge/Cargo.toml b/modules/honzon-bridge/Cargo.toml index 8a26f2de5..bb9b6aa30 100644 --- a/modules/honzon-bridge/Cargo.toml +++ b/modules/honzon-bridge/Cargo.toml @@ -2,7 +2,7 @@ name = "module-honzon-bridge" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] scale-info = { workspace = true } diff --git a/modules/honzon/Cargo.toml b/modules/honzon/Cargo.toml index c8e520222..6a26e285a 100644 --- a/modules/honzon/Cargo.toml +++ b/modules/honzon/Cargo.toml @@ -2,7 +2,7 @@ name = "module-honzon" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true } diff --git a/modules/idle-scheduler/Cargo.toml b/modules/idle-scheduler/Cargo.toml index 03eeaf3b1..a07c3978c 100644 --- a/modules/idle-scheduler/Cargo.toml +++ b/modules/idle-scheduler/Cargo.toml @@ -2,7 +2,7 @@ name = "module-idle-scheduler" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/incentives/Cargo.toml b/modules/incentives/Cargo.toml index d9d758af7..388ed4391 100644 --- a/modules/incentives/Cargo.toml +++ b/modules/incentives/Cargo.toml @@ -2,7 +2,7 @@ name = "module-incentives" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/liquid-crowdloan/Cargo.toml b/modules/liquid-crowdloan/Cargo.toml index b2f7a4315..78895c26c 100644 --- a/modules/liquid-crowdloan/Cargo.toml +++ b/modules/liquid-crowdloan/Cargo.toml @@ -2,7 +2,7 @@ name = "module-liquid-crowdloan" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] scale-info = { workspace = true } diff --git a/modules/loans/Cargo.toml b/modules/loans/Cargo.toml index 8a2404546..4479b9390 100644 --- a/modules/loans/Cargo.toml +++ b/modules/loans/Cargo.toml @@ -2,7 +2,7 @@ name = "module-loans" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/nft/Cargo.toml b/modules/nft/Cargo.toml index bb9358702..8321e8ac0 100644 --- a/modules/nft/Cargo.toml +++ b/modules/nft/Cargo.toml @@ -2,7 +2,7 @@ name = "module-nft" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] serde = { workspace = true, features = ["alloc", "derive"] } diff --git a/modules/nominees-election/Cargo.toml b/modules/nominees-election/Cargo.toml index 9cb3098d7..8afddd152 100644 --- a/modules/nominees-election/Cargo.toml +++ b/modules/nominees-election/Cargo.toml @@ -2,7 +2,7 @@ name = "module-nominees-election" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/prices/Cargo.toml b/modules/prices/Cargo.toml index 1918e9c83..2ca0a02f8 100644 --- a/modules/prices/Cargo.toml +++ b/modules/prices/Cargo.toml @@ -2,7 +2,7 @@ name = "module-prices" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true } diff --git a/modules/relaychain/Cargo.toml b/modules/relaychain/Cargo.toml index c0fdad3f4..a7188611d 100644 --- a/modules/relaychain/Cargo.toml +++ b/modules/relaychain/Cargo.toml @@ -2,7 +2,7 @@ name = "module-relaychain" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true } diff --git a/modules/session-manager/Cargo.toml b/modules/session-manager/Cargo.toml index 469ca33c5..1c90fd2a3 100644 --- a/modules/session-manager/Cargo.toml +++ b/modules/session-manager/Cargo.toml @@ -2,7 +2,7 @@ name = "module-session-manager" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/support/Cargo.toml b/modules/support/Cargo.toml index acb5500ad..c2e6d0ec6 100644 --- a/modules/support/Cargo.toml +++ b/modules/support/Cargo.toml @@ -2,7 +2,7 @@ name = "module-support" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] impl-trait-for-tuples = { workspace = true } diff --git a/modules/transaction-pause/Cargo.toml b/modules/transaction-pause/Cargo.toml index 257cc33ac..cc3971a1e 100644 --- a/modules/transaction-pause/Cargo.toml +++ b/modules/transaction-pause/Cargo.toml @@ -2,7 +2,7 @@ name = "module-transaction-pause" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/transaction-payment/Cargo.toml b/modules/transaction-payment/Cargo.toml index 7461bf08d..b2339ab9a 100644 --- a/modules/transaction-payment/Cargo.toml +++ b/modules/transaction-payment/Cargo.toml @@ -2,7 +2,7 @@ name = "module-transaction-payment" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/xcm-interface/Cargo.toml b/modules/xcm-interface/Cargo.toml index d21d44afe..1cfac111b 100644 --- a/modules/xcm-interface/Cargo.toml +++ b/modules/xcm-interface/Cargo.toml @@ -2,7 +2,7 @@ name = "module-xcm-interface" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/modules/xnft/Cargo.toml b/modules/xnft/Cargo.toml index fc0514fb1..66a3982d4 100644 --- a/modules/xnft/Cargo.toml +++ b/modules/xnft/Cargo.toml @@ -3,7 +3,7 @@ name = "module-xnft" description = "XCM NFT PoC" version = { workspace = true } authors = ["Unique Network Developers"] -edition = "2021" +edition = { workspace = true } [dependencies] parity-scale-codec = { workspace = true } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index b07f04733..34157dfa8 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -2,7 +2,7 @@ name = "acala-primitives" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] log = { workspace = true } diff --git a/runtime/acala/Cargo.toml b/runtime/acala/Cargo.toml index 0b7ded857..45fdb08a9 100644 --- a/runtime/acala/Cargo.toml +++ b/runtime/acala/Cargo.toml @@ -2,7 +2,7 @@ name = "acala-runtime" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } build = "build.rs" [dependencies] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 78754c078..dc9344e5f 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -2,7 +2,7 @@ name = "runtime-common" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [[bench]] name = "precompile" diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index e3c30c454..e4c17899c 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -2,7 +2,7 @@ name = "runtime-integration-tests" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } [dependencies] smallvec = { workspace = true } diff --git a/runtime/karura/Cargo.toml b/runtime/karura/Cargo.toml index 15b2c26c0..da7130aef 100644 --- a/runtime/karura/Cargo.toml +++ b/runtime/karura/Cargo.toml @@ -2,7 +2,7 @@ name = "karura-runtime" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } build = "build.rs" [dependencies] diff --git a/runtime/mandala/Cargo.toml b/runtime/mandala/Cargo.toml index 7242da265..0a494d367 100644 --- a/runtime/mandala/Cargo.toml +++ b/runtime/mandala/Cargo.toml @@ -2,7 +2,7 @@ name = "mandala-runtime" version = { workspace = true } authors = { workspace = true } -edition = "2021" +edition = { workspace = true } build = "build.rs" [dependencies]