[package] name = "pallet-bridge-grandpa" version = "0.18.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 } log = { workspace = true } scale-info = { features = ["derive"], workspace = true } bp-runtime.workspace = true bp-header-chain.workspace = true 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 bp-test-utils = { optional = true, workspace = true } frame-benchmarking = { optional = true, workspace = true } [dev-dependencies] bp-runtime = { features = ["test-helpers"], path = "../../primitives/runtime", default-features = false } sp-core = { default-features = true, path = "../../../substrate/primitives/core" } sp-io = { default-features = true, path = "../../../substrate/primitives/io" } [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", "log/std", "scale-info/std", "sp-consensus-grandpa/std", "sp-runtime/std", "sp-std/std", ] runtime-benchmarks = [ "bp-test-utils", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime", ]