[package]
name = "sc-cli"
version = "0.8.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate CLI interface."
edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"

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

[dependencies]
derive_more = "0.99.2"
env_logger = "0.7.0"
log = "0.4.8"
atty = "0.2.13"
regex = "1.3.4"
time = "0.1.42"
ansi_term = "0.12.1"
lazy_static = "1.4.0"
tokio = { version = "0.2.21", features = [ "signal", "rt-core", "rt-threaded", "blocking" ] }
futures = "0.3.4"
fdlimit = "0.1.4"
libp2p = "0.24.0"
parity-scale-codec = "1.3.0"
hex = "0.4.2"
rand = "0.7.3"
bip39 = "0.6.0-beta.1"
serde_json = "1.0.41"
sc-keystore = { version = "2.0.0-rc6", path = "../keystore" }
sc-informant = { version = "0.8.0-rc6", path = "../informant" }
sp-panic-handler = { version = "2.0.0-rc6", path = "../../primitives/panic-handler" }
sc-client-api = { version = "2.0.0-rc6", path = "../api" }
sp-blockchain = { version = "2.0.0-rc6", path = "../../primitives/blockchain" }
sc-network = { version = "0.8.0-rc6", path = "../network" }
sp-runtime = { version = "2.0.0-rc6", path = "../../primitives/runtime" }
sp-utils = { version = "2.0.0-rc6", path = "../../primitives/utils" }
sp-version = { version = "2.0.0-rc6", path = "../../primitives/version" }
sp-core = { version = "2.0.0-rc6", path = "../../primitives/core" }
sc-service = { version = "0.8.0-rc6", default-features = false, path = "../service" }
sp-state-machine = { version = "0.8.0-rc6", path = "../../primitives/state-machine" }
sc-telemetry = { version = "2.0.0-rc6", path = "../telemetry" }
substrate-prometheus-endpoint = { path = "../../utils/prometheus" , version = "0.8.0-rc6"}
sp-keyring = { version = "2.0.0-rc6", path = "../../primitives/keyring" }
names = "0.11.0"
structopt = "0.3.8"
sc-tracing = { version = "2.0.0-rc6", path = "../tracing" }
chrono = "0.4.10"
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
serde = "1.0.111"

[target.'cfg(not(target_os = "unknown"))'.dependencies]
rpassword = "4.0.1"

[target.'cfg(target_family = "unix")'.dependencies]
nix = "0.17.0"

[dev-dependencies]
tempfile = "3.1.0"
sp-io = { version = "2.0.0-rc3", path = "../../primitives/io" }
sp-application-crypto = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/application-crypto" }

[features]
wasmtime = [
	"sc-service/wasmtime",
]
