mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
75 lines
1.8 KiB
TOML
75 lines
1.8 KiB
TOML
[package]
|
|
name = "pallet-external-validators"
|
|
authors = { workspace = true }
|
|
description = "Simple pallet to store external validators."
|
|
edition = "2021"
|
|
license = "GPL-3.0-only"
|
|
version = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = [ "x86_64-unknown-linux-gnu" ]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
log = { workspace = true }
|
|
parity-scale-codec = { workspace = true }
|
|
rand = { workspace = true, optional = true }
|
|
scale-info = { workspace = true, features = [ "derive" ] }
|
|
|
|
frame-support = { workspace = true }
|
|
frame-system = { workspace = true }
|
|
impl-trait-for-tuples = { workspace = true }
|
|
sp-runtime = { workspace = true }
|
|
sp-staking = { workspace = true }
|
|
sp-std = { workspace = true }
|
|
|
|
frame-benchmarking = { workspace = true }
|
|
|
|
pallet-balances = { workspace = true, optional = true }
|
|
pallet-session = { workspace = true, features = [ "historical" ] }
|
|
|
|
[dev-dependencies]
|
|
pallet-timestamp = { workspace = true }
|
|
sp-core = { workspace = true }
|
|
sp-io = { workspace = true }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"frame-benchmarking/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"pallet-balances/std",
|
|
"pallet-session/std",
|
|
"pallet-timestamp/std",
|
|
"parity-scale-codec/std",
|
|
"rand?/std",
|
|
"scale-info/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-staking/std",
|
|
"sp-std/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"rand",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"sp-staking/runtime-benchmarks",
|
|
]
|
|
|
|
try-runtime = [
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-balances?/try-runtime",
|
|
"pallet-session/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|