[package] name = "bp-polkadot-core" description = "Primitives of Polkadot-like runtime." version = "0.7.0" authors.workspace = true edition.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [lints] workspace = true [dependencies] codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"] } parity-util-mem = { version = "0.12.0", optional = true } scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } serde = { default-features = false, features = ["derive"], optional = true, workspace = true } # Bridge Dependencies bp-messages = { path = "../messages", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } [dev-dependencies] hex = "0.4" [features] default = ["std"] std = [ "bp-messages/std", "bp-runtime/std", "codec/std", "frame-support/std", "frame-system/std", "parity-util-mem", "scale-info/std", "serde", "sp-core/std", "sp-runtime/std", "sp-std/std", ]