[package]
name = "remote-externalities"
version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "An externalities provided environemnt that can load itself from remote nodes or cache files"
readme = "README.md"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
jsonrpsee = { version = "0.8", features = ["ws-client", "macros"] }

env_logger = "0.9"
frame-support = { path = "../../../frame/support", optional = true, version = "4.0.0-dev" }
log = "0.4.11"
codec = { package = "parity-scale-codec", version = "2.0.0" }
serde_json = "1.0"
serde = "1.0.136"

sp-io = { version = "5.0.0", path = "../../../primitives/io" }
sp-core = { version = "5.0.0", path = "../../../primitives/core" }
sp-runtime = { version = "5.0.0", path = "../../../primitives/runtime" }
sp-version = { version = "4.0.0-dev", path = "../../../primitives/version" }

[dev-dependencies]
tokio = { version = "1.15", features = ["macros", "rt-multi-thread"] }
pallet-elections-phragmen = { path = "../../../frame/elections-phragmen", version = "5.0.0-dev" }
frame-support = { path = "../../../frame/support", version = "4.0.0-dev" }

[features]
remote-test = ["frame-support"]
