Skip to content

Commit

Permalink
fix: cargo toml (#590)
Browse files Browse the repository at this point in the history
It appears that the Cargo.toml of the parachain-staking had errors in
some features. This PR addresses the issues and formats the Cargo.toml
file.
  • Loading branch information
Ad96el committed Feb 7, 2024
1 parent fd5683c commit bff7102
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4,354 deletions.
12 changes: 7 additions & 5 deletions pallets/parachain-staking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
authors.workspace = true
description = "Parachain parachain-staking pallet for collator delegation and selection as well as reward distribution"
documentation.workspace = true
edition.workspace = true
homepage.workspace = true
license-file.workspace = true
name = "parachain-staking"
readme.workspace = true
repository.workspace = true
version.workspace = true
name = "parachain-staking"
description = "Parachain parachain-staking pallet for collator delegation and selection as well as reward distribution"

[dev-dependencies]
kilt-support = {workspace = true, features = ["mock", "try-runtime"]}
Expand All @@ -20,10 +20,10 @@ sp-io = {workspace = true, features = ["std"]}

[dependencies]
# External dependencies
parity-scale-codec = {workspace = true, features = ["derive"]}
log.workspace = true
parity-scale-codec = {workspace = true, features = ["derive"]}
scale-info = {workspace = true, features = ["derive", "serde"]}
serde = {workspace = true, default-features= false, features=["derive"]}
serde = {workspace = true, default-features = false, features = ["derive"]}

# Internal dependencies
kilt-runtime-api-staking.workspace = true
Expand Down Expand Up @@ -51,6 +51,7 @@ runtime-benchmarks = [
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"kilt-support/runtime-benchmarks",
]
std = [
"frame-benchmarking?/std",
Expand All @@ -67,12 +68,13 @@ std = [
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"kilt-support/std",
]
try-runtime = [
"frame-system/try-runtime",
"frame-support/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
"pallet-session/try-runtime",
"kilt-support/try-runtime"
"kilt-support/try-runtime",
]
Loading

0 comments on commit bff7102

Please sign in to comment.