mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 02:01:02 +00:00
Fixup some wrong dependencies (#12899)
* Fixup some wrong dependencies Dev dependencies should not appear in the feature list. If features are required, they should be directly enabled for the `dev-dependency`. * More fixups * Fix fix * Remove deprecated feature * Make all work properly and nice!! * FMT * Fix formatting
This commit is contained in:
@@ -25,10 +25,7 @@ sp-std = { version = "5.0.0", default-features = false, path = "../../primitives
|
||||
sp-staking = { default-features = false, path = "../../primitives/staking" }
|
||||
frame-election-provider-support = { default-features = false, path = "../election-provider-support" }
|
||||
|
||||
# optional dependencies for cargo features
|
||||
frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true, path = "../benchmarking" }
|
||||
pallet-staking = { default-features = false, optional = true, path = "../staking" }
|
||||
pallet-assets = { default-features = false, optional = true, path = "../assets" }
|
||||
|
||||
[dev-dependencies]
|
||||
pallet-staking-reward-curve = { version = "4.0.0-dev", path = "../staking/reward-curve" }
|
||||
@@ -38,8 +35,6 @@ sp-tracing = { version = "6.0.0", path = "../../primitives/tracing" }
|
||||
pallet-staking = { path = "../staking" }
|
||||
pallet-balances = { path = "../balances" }
|
||||
pallet-timestamp = { path = "../timestamp" }
|
||||
pallet-assets = { path = "../assets" }
|
||||
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -64,6 +59,5 @@ runtime-benchmarks = [
|
||||
"frame-benchmarking/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"sp-staking/runtime-benchmarks",
|
||||
"pallet-staking/runtime-benchmarks"
|
||||
]
|
||||
try-runtime = ["frame-support/try-runtime"]
|
||||
|
||||
Reference in New Issue
Block a user