2023-01-05 03:52:41 +00:00
|
|
|
[package]
|
|
|
|
name = "validator-sets-pallet"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Validator sets pallet"
|
|
|
|
license = "AGPL-3.0-only"
|
|
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/validator-sets/pallet"
|
|
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
|
|
|
|
scale-info = { version = "2", default-features = false, features = ["derive"] }
|
|
|
|
|
2023-03-28 09:45:54 +00:00
|
|
|
sp-core = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
|
2023-01-05 03:52:41 +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 }
|
|
|
|
|
|
|
|
serai-primitives = { path = "../../serai/primitives", default-features = false }
|
|
|
|
validator-sets-primitives = { path = "../primitives", default-features = false }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
std = [
|
|
|
|
"scale/std",
|
|
|
|
"scale-info/std",
|
|
|
|
|
|
|
|
"frame-system/std",
|
|
|
|
"frame-support/std",
|
|
|
|
|
|
|
|
"serai-primitives/std",
|
|
|
|
"validator-sets-primitives/std",
|
|
|
|
]
|
|
|
|
|
|
|
|
runtime-benchmarks = [
|
|
|
|
"frame-system/runtime-benchmarks",
|
|
|
|
"frame-support/runtime-benchmarks",
|
|
|
|
]
|
|
|
|
|
|
|
|
default = ["std"]
|