mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 22:51:13 +00:00
8b9455465b
* CI: Add feature sorting check Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Sort all features Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add some mistakes Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Add some mistakes" This reverts commit b2b1099f979f6decb22d09b46689c1554bb72e81. * CI job naming Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add oneliner formatting Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Explain tool Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use latest version Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Better erorr message Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Format after master merge Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use --check option Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Messed up the merge commit... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
100 lines
4.0 KiB
TOML
100 lines
4.0 KiB
TOML
[package]
|
|
name = "pallet-staking"
|
|
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 = "FRAME pallet staking"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.163", default-features = false, features = ["alloc", "derive"]}
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
|
|
"derive",
|
|
] }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive", "serde"] }
|
|
sp-io = { version = "23.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-runtime = { version = "24.0.0", default-features = false, path = "../../primitives/runtime", features = ["serde"] }
|
|
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../primitives/staking", features = ["serde"] }
|
|
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
|
|
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
|
|
pallet-session = { version = "4.0.0-dev", default-features = false, features = [
|
|
"historical",
|
|
], path = "../session" }
|
|
pallet-authorship = { version = "4.0.0-dev", default-features = false, path = "../authorship" }
|
|
sp-application-crypto = { version = "23.0.0", default-features = false, path = "../../primitives/application-crypto", features = ["serde"] }
|
|
frame-election-provider-support = { version = "4.0.0-dev", default-features = false, path = "../election-provider-support" }
|
|
log = { version = "0.4.17", default-features = false }
|
|
|
|
# Optional imports for benchmarking
|
|
frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../benchmarking", optional = true }
|
|
rand_chacha = { version = "0.2", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
sp-tracing = { version = "10.0.0", path = "../../primitives/tracing" }
|
|
sp-core = { version = "21.0.0", path = "../../primitives/core" }
|
|
sp-npos-elections = { version = "4.0.0-dev", path = "../../primitives/npos-elections" }
|
|
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
|
|
pallet-timestamp = { version = "4.0.0-dev", path = "../timestamp" }
|
|
pallet-staking-reward-curve = { version = "4.0.0-dev", path = "../staking/reward-curve" }
|
|
pallet-bags-list = { version = "4.0.0-dev", path = "../bags-list" }
|
|
substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" }
|
|
frame-benchmarking = { version = "4.0.0-dev", path = "../benchmarking" }
|
|
frame-election-provider-support = { version = "4.0.0-dev", path = "../election-provider-support" }
|
|
rand_chacha = { version = "0.2" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"codec/std",
|
|
"frame-benchmarking?/std",
|
|
"frame-election-provider-support/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"pallet-authorship/std",
|
|
"pallet-bags-list/std",
|
|
"pallet-balances/std",
|
|
"pallet-session/std",
|
|
"pallet-timestamp/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"sp-application-crypto/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-npos-elections/std",
|
|
"sp-runtime/std",
|
|
"sp-staking/std",
|
|
"sp-std/std",
|
|
"sp-tracing/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-election-provider-support/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-bags-list/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"rand_chacha",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"sp-staking/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-election-provider-support/try-runtime",
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-authorship/try-runtime",
|
|
"pallet-bags-list/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"pallet-session/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|