mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
8e95a3e1aa
Working towards migrating the `parity-bridges-common` repo inside `polkadot-sdk`. This PR upgrades some dependencies in order to align them with the versions used in `parity-bridges-common` Related to https://github.com/paritytech/parity-bridges-common/issues/2538
93 lines
3.1 KiB
TOML
93 lines
3.1 KiB
TOML
[package]
|
|
name = "pallet-election-provider-multi-phase"
|
|
version = "27.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "PALLET two phase election providers"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
|
|
"derive",
|
|
] }
|
|
scale-info = { version = "2.11.1", default-features = false, features = [
|
|
"derive",
|
|
] }
|
|
log = { workspace = true }
|
|
|
|
frame-support = { path = "../support", default-features = false }
|
|
frame-system = { path = "../system", default-features = false }
|
|
|
|
sp-io = { path = "../../primitives/io", default-features = false }
|
|
sp-std = { path = "../../primitives/std", default-features = false }
|
|
sp-core = { path = "../../primitives/core", default-features = false }
|
|
sp-runtime = { path = "../../primitives/runtime", default-features = false }
|
|
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false }
|
|
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
|
|
frame-election-provider-support = { path = "../election-provider-support", default-features = false }
|
|
|
|
# Optional imports for benchmarking
|
|
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
|
|
pallet-election-provider-support-benchmarking = { path = "../election-provider-support/benchmarking", default-features = false, optional = true }
|
|
rand = { version = "0.8.5", default-features = false, features = ["alloc", "small_rng"], optional = true }
|
|
strum = { version = "0.26.2", default-features = false, features = ["derive"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
parking_lot = "0.12.1"
|
|
rand = "0.8.5"
|
|
sp-core = { path = "../../primitives/core", default-features = false }
|
|
sp-io = { path = "../../primitives/io" }
|
|
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false }
|
|
sp-tracing = { path = "../../primitives/tracing" }
|
|
pallet-balances = { path = "../balances" }
|
|
frame-benchmarking = { path = "../benchmarking" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"frame-benchmarking?/std",
|
|
"frame-election-provider-support/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"pallet-balances/std",
|
|
"pallet-election-provider-support-benchmarking?/std",
|
|
"rand/std",
|
|
"scale-info/std",
|
|
"sp-arithmetic/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-npos-elections/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"sp-tracing/std",
|
|
"strum/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-election-provider-support/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-election-provider-support-benchmarking?/runtime-benchmarks",
|
|
"rand",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"strum",
|
|
]
|
|
try-runtime = [
|
|
"frame-election-provider-support/try-runtime",
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|