[package] name = "pallet-bridge-grandpa" version = "0.7.0" description = "Module implementing GRANDPA on-chain light client used for bridging consensus of substrate-based chains." authors.workspace = true edition.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" repository.workspace = true [lints] workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] codec = { workspace = true } scale-info = { features = ["derive"], workspace = true } tracing = { workspace = true } # Bridge Dependencies bp-header-chain = { workspace = true } bp-runtime = { workspace = true } # Substrate Dependencies frame-support = { workspace = true } frame-system = { workspace = true } sp-consensus-grandpa = { features = ["serde"], workspace = true } sp-runtime = { features = ["serde"], workspace = true } sp-std = { workspace = true } # Optional Benchmarking Dependencies bp-test-utils = { optional = true, workspace = true } frame-benchmarking = { optional = true, workspace = true } [dev-dependencies] bp-runtime = { features = ["test-helpers"], workspace = true } sp-core = { workspace = true, default-features = true } sp-io = { workspace = true, default-features = true } [features] default = ["std"] std = [ "bp-header-chain/std", "bp-runtime/std", "bp-test-utils/std", "codec/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", "scale-info/std", "sp-consensus-grandpa/std", "sp-runtime/std", "sp-std/std", "tracing/std", ] runtime-benchmarks = [ "bp-header-chain/runtime-benchmarks", "bp-runtime/runtime-benchmarks", "bp-test-utils", "bp-test-utils?/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-consensus-grandpa/runtime-benchmarks", "sp-io/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime", ]