[package]
name = "ghost-slow-clap"
version = "0.3.14"
description = "Applause protocol for the EVM bridge"
license.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
codec = { workspace = true, features = ["max-encoded-len"] }
scale-info = { workspace = true, features = ["derive"] }

log = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["alloc"] }

frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
frame-system = { workspace = true }

sp-application-crypto = { workspace = true }
sp-core = { workspace = true }
sp-runtime = { workspace = true }
sp-staking = { workspace = true }
sp-io = { workspace = true }
sp-std = { workspace = true }

pallet-balances = { workspace = true }
ghost-networks = { workspace = true }

[dev-dependencies]
pallet-session = { workspace = true, default-features = true }

[features]
default = ["std"]
std = [
    "frame-benchmarking?/std",
	"log/std",
	"codec/std",
	"scale-info/std",
    "frame-support/std",
    "frame-system/std",
    "sp-application-crypto/std",
    "sp-core/std",
    "sp-runtime/std",
    "sp-staking/std",
    "sp-io/std",
    "sp-std/std",
    "pallet-session/std",
    "pallet-balances/std",
    "ghost-networks/std",
]
runtime-benchmarks = [
    "frame-benchmarking/runtime-benchmarks",
    "frame-support/runtime-benchmarks",
    "frame-system/runtime-benchmarks",
    "sp-runtime/runtime-benchmarks",
    "sp-staking/runtime-benchmarks",
    "pallet-balances/runtime-benchmarks",
    "ghost-networks/runtime-benchmarks",
]
try-runtime = [
    "frame-support/try-runtime",
    "frame-system/try-runtime",
    "sp-runtime/try-runtime",
    "pallet-session/try-runtime",
    "pallet-balances/try-runtime",
    "ghost-networks/try-runtime",
]