[package] name = "pallet-bridge-currency-exchange" description = "A Substrate Runtime module that accepts 'lock funds' transactions from a peer chain and grants an equivalent amount to a the appropriate Substrate account." version = "0.1.0" authors = ["Parity Technologies "] edition = "2018" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false } log = { version = "0.4.14", default-features = false } serde = { version = "1.0", optional = true } # Bridge dependencies bp-currency-exchange = { path = "../../primitives/currency-exchange", default-features = false } bp-header-chain = { path = "../../primitives/header-chain", default-features = false } # Substrate Dependencies frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } [dev-dependencies] sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] std = [ "bp-currency-exchange/std", "bp-header-chain/std", "codec/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", "log/std", "serde", "sp-runtime/std", "sp-std/std", ] runtime-benchmarks = [ "frame-benchmarking", "sp-std", ]