mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-21 18:01:07 +00:00
8751f88fc7
* implement crate publishing from CI * fix indentation * use resource_group for job exclusivity ensure that at most one instance of the publish-crates job is running at any given time to prevent race conditions * correct publish = false * Remove YAML anchors as GitLab's `extends:` doesn't need it * Temporarily force cache upload for the new jobs * Revert `RUSTY_CACHIER_FORCE_UPLOAD` * pin libp2p-tcp=0.37.0 for sc-telemetry * Revert "pin libp2p-tcp=0.37.0 for sc-telemetry" This reverts commit 29146bfad6c31e8cf0e2f17ad92a71bb81a373af. * always collect generated crates * increase timeout for publish-crates-template * Force upload the new job cache again * Revert "Force upload the new job cache again" This reverts commit 5a5feee1b2c51fdef768b25a76be4c3949ec1c99. * reformat * improve timeout explanation * s/usual/average Co-authored-by: Vladimir Istyufeev <vladimir@parity.io>
82 lines
3.1 KiB
TOML
82 lines
3.1 KiB
TOML
[package]
|
|
name = "pallet-election-provider-multi-phase"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "PALLET two phase election providers"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
static_assertions = "1.1.0"
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [
|
|
"derive",
|
|
] }
|
|
scale-info = { version = "2.1.1", default-features = false, features = [
|
|
"derive",
|
|
] }
|
|
log = { version = "0.4.17", default-features = false }
|
|
|
|
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
|
|
|
|
sp-io = { version = "7.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-std = { version = "5.0.0", default-features = false, path = "../../primitives/std" }
|
|
sp-core = { version = "7.0.0", default-features = false, path = "../../primitives/core" }
|
|
sp-runtime = { version = "7.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-npos-elections = { version = "4.0.0-dev", default-features = false, path = "../../primitives/npos-elections" }
|
|
sp-arithmetic = { version = "6.0.0", default-features = false, path = "../../primitives/arithmetic" }
|
|
frame-election-provider-support = { version = "4.0.0-dev", default-features = false, path = "../election-provider-support" }
|
|
|
|
# Optional imports for benchmarking
|
|
frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../benchmarking", optional = true }
|
|
pallet-election-provider-support-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../election-provider-support/benchmarking", optional = true }
|
|
rand = { version = "0.7.3", default-features = false, features = ["alloc", "small_rng"], optional = true }
|
|
strum = { version = "0.24.1", default-features = false, features = ["derive"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
parking_lot = "0.12.1"
|
|
rand = { version = "0.7.3" }
|
|
sp-core = { version = "7.0.0", default-features = false, path = "../../primitives/core" }
|
|
sp-io = { version = "7.0.0", path = "../../primitives/io" }
|
|
sp-npos-elections = { version = "4.0.0-dev", default-features = false, path = "../../primitives/npos-elections" }
|
|
sp-tracing = { version = "6.0.0", path = "../../primitives/tracing" }
|
|
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
|
|
frame-benchmarking = { version = "4.0.0-dev", path = "../benchmarking" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"pallet-election-provider-support-benchmarking?/std",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"log/std",
|
|
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
|
|
"sp-io/std",
|
|
"sp-std/std",
|
|
"sp-core/std",
|
|
"sp-runtime/std",
|
|
"sp-npos-elections/std",
|
|
"sp-arithmetic/std",
|
|
"frame-election-provider-support/std",
|
|
"log/std",
|
|
|
|
"frame-benchmarking?/std",
|
|
"rand/std",
|
|
"strum/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-election-provider-support/runtime-benchmarks",
|
|
"rand",
|
|
"strum",
|
|
]
|
|
try-runtime = ["frame-support/try-runtime"]
|