2023-10-10 10:53:24 +00:00
|
|
|
[package]
|
|
|
|
name = "serai-staking-pallet"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Staking pallet for Serai"
|
|
|
|
license = "AGPL-3.0-only"
|
|
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/staking/pallet"
|
|
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
parity-scale-codec = { version = "3", default-features = false, features = ["derive"] }
|
|
|
|
scale-info = { version = "2", default-features = false, features = ["derive"] }
|
|
|
|
|
|
|
|
sp-std = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-10-19 10:22:21 +00:00
|
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-10-10 10:53:24 +00:00
|
|
|
|
|
|
|
frame-system = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
|
2023-10-19 10:22:21 +00:00
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
|
|
|
|
|
|
|
coins-pallet = { package = "serai-coins-pallet", path = "../../coins/pallet", default-features = false }
|
|
|
|
|
2023-10-10 10:53:24 +00:00
|
|
|
validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../../validator-sets/pallet", default-features = false }
|
|
|
|
|
2023-10-19 10:22:21 +00:00
|
|
|
pallet-session = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-10-10 10:53:24 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
std = [
|
|
|
|
"frame-system/std",
|
|
|
|
"frame-support/std",
|
|
|
|
|
|
|
|
"sp-std/std",
|
2023-10-19 10:22:21 +00:00
|
|
|
"sp-runtime/std",
|
|
|
|
|
|
|
|
"serai-primitives/std",
|
|
|
|
|
|
|
|
"coins-pallet/std",
|
2023-10-10 10:53:24 +00:00
|
|
|
|
|
|
|
"validator-sets-pallet/std",
|
2023-10-19 10:22:21 +00:00
|
|
|
|
2023-10-10 10:53:24 +00:00
|
|
|
"pallet-session/std",
|
|
|
|
]
|
|
|
|
|
|
|
|
runtime-benchmarks = [
|
|
|
|
"frame-system/runtime-benchmarks",
|
|
|
|
"frame-support/runtime-benchmarks",
|
|
|
|
]
|
|
|
|
|
|
|
|
default = ["std"]
|