Skip to content

Commit

Permalink
Format (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier authored Feb 14, 2023
1 parent ef31b59 commit af75e3a
Show file tree
Hide file tree
Showing 20 changed files with 304 additions and 303 deletions.
346 changes: 173 additions & 173 deletions Cargo.toml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions core/inflation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "dc-inflation"
description = "Darwinia economic inflation mechanism implementation."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia economic inflation mechanism implementation."
edition.workspace = true
name = "dc-inflation"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand Down
13 changes: 7 additions & 6 deletions core/primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "dc-primitives"
description = "Darwinia chain core primitives."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia chain core primitives."
edition.workspace = true
name = "dc-primitives"
readme = "README.md"
version.workspace = true

[dependencies]
# darwinia
Expand All @@ -22,6 +22,7 @@ default = ["std"]
std = [
# moonbeam
"account/std",

# substrate
"sp-core/std",
"sp-runtime/std",
Expand Down
12 changes: 6 additions & 6 deletions core/types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dc-types"
description = "Darwinia core types."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia core types."
edition.workspace = true
name = "dc-types"
readme = "README.md"
version.workspace = true
12 changes: 6 additions & 6 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia"
description = "Darwinia node."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia node."
edition.workspace = true
name = "darwinia"
readme = "README.md"
version.workspace = true

[build-dependencies]
substrate-build-script-utils = { workspace = true }
Expand Down
12 changes: 6 additions & 6 deletions pallet/account-migration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-account-migration"
description = "Darwinia SR25519 to ECDSA account migration."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia SR25519 to ECDSA account migration."
edition.workspace = true
name = "darwinia-account-migration"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand Down
14 changes: 7 additions & 7 deletions pallet/deposit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-deposit"
description = "Darwinia deposit mechanism implementation."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia deposit mechanism implementation."
edition.workspace = true
name = "darwinia-deposit"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand All @@ -26,7 +26,7 @@ sp-std = { workspace = true }
[dev-dependencies]
# substrate
pallet-assets = { workspace = true, features = ["std"] }
pallet-balances = { workspace = true, features = ["std"] }
pallet-balances = { workspace = true, features = ["std"] }
pallet-timestamp = { workspace = true, features = ["std"] }
sp-io = { workspace = true }

Expand Down
24 changes: 12 additions & 12 deletions pallet/ecdsa-authority/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-ecdsa-authority"
description = "Relayer Authorities Protocal Implementation"
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Relayer Authorities Protocal Implementation"
edition.workspace = true
name = "darwinia-ecdsa-authority"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand All @@ -16,12 +16,12 @@ scale-info = { workspace = true }
dc-primitives = { workspace = true }

# substrate
frame-support = { workspace = true}
frame-system = { workspace = true}
sp-core = { workspace = true}
sp-io = { workspace = true}
sp-runtime = { workspace = true}
sp-std = { workspace = true}
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

[dev-dependencies]
array-bytes = { workspace = true }
Expand Down
12 changes: 6 additions & 6 deletions pallet/message-gadget/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-message-gadget"
description = "Darwinia messages gadget."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia messages gadget."
edition.workspace = true
name = "darwinia-message-gadget"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand Down
12 changes: 6 additions & 6 deletions pallet/message-transact/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-message-transact"
description = "LCMP evm message execution."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "LCMP evm message execution."
edition.workspace = true
name = "darwinia-message-transact"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand Down
12 changes: 6 additions & 6 deletions pallet/staking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-staking"
description = "Darwinia parachain staking."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia parachain staking."
edition.workspace = true
name = "darwinia-staking"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand Down
14 changes: 7 additions & 7 deletions precompile/assets/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "darwinia-precompile-assets"
description = "Assets precompile for EVM pallet."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Assets precompile for EVM pallet."
edition.workspace = true
name = "darwinia-precompile-assets"
readme = "README.md"
version.workspace = true

[dependencies]
# frontier
fp-evm = { workspace = true }
pallet-evm = { workspace = true }

# moonbeam
precompile-utils = { workspace = true}
precompile-utils = { workspace = true }

# paritytech
frame-support = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions precompile/bls12-381/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-precompile-bls12-381"
description = "BLS12-381 implementation for EVM pallet."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "BLS12-381 implementation for EVM pallet."
edition.workspace = true
name = "darwinia-precompile-bls12-381"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand All @@ -18,7 +18,7 @@ pallet-evm = { workspace = true }
precompile-utils = { workspace = true }

# substrate
sp-std = { workspace = true }
sp-std = { workspace = true }

[dev-dependencies]
# crates.io
Expand Down
12 changes: 6 additions & 6 deletions precompile/deposit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-precompile-deposit"
description = "Deposit precompile for EVM pallet."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Deposit precompile for EVM pallet."
edition.workspace = true
name = "darwinia-precompile-deposit"
readme = "README.md"
version.workspace = true

[dependencies]
# frontier
Expand Down
12 changes: 6 additions & 6 deletions precompile/staking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-precompile-staking"
description = "Staking precompile for EVM pallet."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Staking precompile for EVM pallet."
edition.workspace = true
name = "darwinia-precompile-staking"
readme = "README.md"
version.workspace = true

[dependencies]
# frontier
Expand Down
12 changes: 6 additions & 6 deletions precompile/state-storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-precompile-state-storage"
description = "State storage precompile for EVM pallet."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "State storage precompile for EVM pallet."
edition.workspace = true
name = "darwinia-precompile-state-storage"
readme = "README.md"
version.workspace = true

[dependencies]
# frontier
Expand Down
12 changes: 6 additions & 6 deletions runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-common-runtime"
description = "Darwinia Common Runtime"
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia Common Runtime"
edition.workspace = true
name = "darwinia-common-runtime"
readme = "README.md"
version.workspace = true

[dependencies]
# crates.io
Expand Down
14 changes: 7 additions & 7 deletions runtime/crab/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "crab-runtime"
description = "Crab runtime."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Crab runtime."
edition.workspace = true
name = "crab-runtime"
readme = "README.md"
version.workspace = true

[build-dependencies]
substrate-wasm-builder = { workspace = true }
Expand Down Expand Up @@ -242,7 +242,7 @@ std = [
# substrate optional
"frame-benchmarking?/std",
"frame-system-benchmarking?/std",
"frame-try-runtime?/std"
"frame-try-runtime?/std",
]

fast-runtime = []
Expand Down
24 changes: 12 additions & 12 deletions runtime/darwinia/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "darwinia-runtime"
description = "Darwinia runtime."
readme = "README.md"
authors = { workspace = true }
edition = { workspace = true }
version = { workspace = true }
authors.workspace = true
description = "Darwinia runtime."
edition.workspace = true
name = "darwinia-runtime"
readme = "README.md"
version.workspace = true

[build-dependencies]
substrate-wasm-builder = { workspace = true }
Expand Down Expand Up @@ -73,12 +73,12 @@ precompile-utils = { workspace = true }
xcm-primitives = { workspace = true }

# polkadot
pallet-xcm = { workspace = true}
polkadot-parachain = { workspace = true}
polkadot-runtime-common = { workspace = true}
xcm = { workspace = true}
xcm-builder = { workspace = true}
xcm-executor = { workspace = true}
pallet-xcm = { workspace = true }
polkadot-parachain = { workspace = true }
polkadot-runtime-common = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
xcm-executor = { workspace = true }

# substrate
frame-executive = { workspace = true }
Expand Down
Loading

0 comments on commit af75e3a

Please sign in to comment.