2023-01-05 03:52:41 +00:00
|
|
|
[package]
|
2023-07-03 12:09:41 +00:00
|
|
|
name = "serai-validator-sets-pallet"
|
2023-01-05 03:52:41 +00:00
|
|
|
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"
|
2023-11-21 06:19:40 +00:00
|
|
|
rust-version = "1.74"
|
2023-01-05 03:52:41 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2023-12-11 12:47:23 +00:00
|
|
|
[package.metadata.cargo-machete]
|
|
|
|
ignored = ["scale", "scale-info"]
|
|
|
|
|
2023-12-17 01:54:24 +00:00
|
|
|
[lints]
|
|
|
|
workspace = true
|
|
|
|
|
2023-01-05 03:52:41 +00:00
|
|
|
[dependencies]
|
2023-12-15 04:45:15 +00:00
|
|
|
hashbrown = { version = "0.14", default-features = false, features = ["ahash", "inline-more"] }
|
|
|
|
|
2023-01-05 03:52:41 +00:00
|
|
|
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-10-10 10:53:24 +00:00
|
|
|
sp-io = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-06-28 18:57:58 +00:00
|
|
|
sp-std = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-05-13 06:02:47 +00:00
|
|
|
sp-application-crypto = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-07-19 02:30:55 +00:00
|
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-11-22 11:22:46 +00:00
|
|
|
sp-session = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-12-16 22:44:08 +00:00
|
|
|
sp-staking = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-03-28 09:45:54 +00:00
|
|
|
|
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 }
|
|
|
|
|
2023-11-22 11:22:46 +00:00
|
|
|
pallet-babe = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
pallet-grandpa = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
2023-10-10 10:53:24 +00:00
|
|
|
|
2023-05-13 06:02:47 +00:00
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
2023-07-03 12:09:41 +00:00
|
|
|
validator-sets-primitives = { package = "serai-validator-sets-primitives", path = "../primitives", default-features = false }
|
2023-01-05 03:52:41 +00:00
|
|
|
|
2023-10-22 07:59:21 +00:00
|
|
|
coins-pallet = { package = "serai-coins-pallet", path = "../../coins/pallet", default-features = false }
|
2023-12-05 13:52:50 +00:00
|
|
|
dex-pallet = { package = "serai-dex-pallet", path = "../../dex/pallet", default-features = false }
|
2023-10-22 07:59:21 +00:00
|
|
|
|
2023-01-05 03:52:41 +00:00
|
|
|
[features]
|
|
|
|
std = [
|
|
|
|
"scale/std",
|
|
|
|
"scale-info/std",
|
|
|
|
|
2023-05-13 08:20:13 +00:00
|
|
|
"sp-core/std",
|
2023-10-20 21:53:07 +00:00
|
|
|
"sp-io/std",
|
|
|
|
"sp-std/std",
|
2023-05-13 08:20:13 +00:00
|
|
|
"sp-application-crypto/std",
|
2023-10-20 21:53:07 +00:00
|
|
|
"sp-runtime/std",
|
2023-11-22 11:22:46 +00:00
|
|
|
"sp-session/std",
|
2023-12-16 22:44:08 +00:00
|
|
|
"sp-staking/std",
|
2023-05-13 08:20:13 +00:00
|
|
|
|
2023-01-05 03:52:41 +00:00
|
|
|
"frame-system/std",
|
|
|
|
"frame-support/std",
|
|
|
|
|
2023-11-22 11:22:46 +00:00
|
|
|
"pallet-babe/std",
|
|
|
|
"pallet-grandpa/std",
|
2023-10-10 10:53:24 +00:00
|
|
|
|
2023-01-05 03:52:41 +00:00
|
|
|
"serai-primitives/std",
|
|
|
|
"validator-sets-primitives/std",
|
2023-10-22 07:59:21 +00:00
|
|
|
|
|
|
|
"coins-pallet/std",
|
2023-12-05 13:52:50 +00:00
|
|
|
"dex-pallet/std",
|
2023-01-05 03:52:41 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
runtime-benchmarks = [
|
|
|
|
"frame-system/runtime-benchmarks",
|
|
|
|
"frame-support/runtime-benchmarks",
|
|
|
|
]
|
|
|
|
|
|
|
|
default = ["std"]
|