[package]
name = "sc-service"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[features]
default = ["rocksdb"]
# The RocksDB feature activates the RocksDB database backend. If it is not activated, and you pass
# a path to a database, an error will be produced at runtime.
rocksdb = ["client_db/kvdb-rocksdb"]
wasmtime = [
	"sc-executor/wasmtime",
]

[dependencies]
derive_more = "0.99.2"
futures = "0.1.29"
futures03 = { package = "futures", version = "0.3.1", features = ["compat"] }
parking_lot = "0.9.0"
lazy_static = "1.4.0"
log = "0.4.8"
slog = { version = "2.5.2", features = ["nested-values"] }
tokio-executor = "0.1.8"
tokio-timer = "0.2.11"
exit-future = "0.1.4"
serde = "1.0.101"
serde_json = "1.0.41"
sysinfo = "0.9.5"
target_info = "0.1.0"
keystore = { package = "sc-keystore", path = "../keystore" }
sp-io = { path = "../../primitives/sr-io" }
sp-runtime = { path = "../../primitives/sr-primitives" }
sp-blockchain = { path = "../../primitives/blockchain" }
primitives = { package = "sp-core", path = "../../primitives/core" }
session = { package = "sp-sesssion", path = "../../primitives/session" }
app-crypto = { package = "sc-application-crypto", path = "../../primitives/application-crypto" }
consensus_common = { package = "sp-consensus", path = "../../primitives/consensus/common" }
network = { package = "sc-network", path = "../network" }
chain-spec = { package = "sc-chain-spec", path = "../chain-spec" }
client-api = { package = "sc-client-api", path = "../api" }
client = { package = "sc-client", path = "../" }
sp-api = { path = "../../primitives/sr-api" }
txpool-runtime-api = { package = "sp-transaction-pool-runtime-api", path = "../../primitives/transaction-pool/runtime-api" }
client_db = { package = "sc-client-db", path = "../db" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
sc-executor = { path = "../executor" }
txpool = { package = "sc-transaction-pool", path = "../transaction-pool" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
rpc-servers = { package = "sc-rpc-server", path = "../rpc-servers" }
rpc = { package = "sc-rpc", path = "../rpc" }
tel = { package = "sc-telemetry", path = "../telemetry" }
offchain = { package = "sc-offchain", path = "../offchain" }
parity-multiaddr = { package = "parity-multiaddr", version = "0.5.0" }
grafana-data-source = { path = "../grafana-data-source" }
sc-tracing = { package = "sc-tracing", path = "../tracing" }
tracing = "0.1.10"

[dev-dependencies]
substrate-test-runtime-client = { path = "../../test/utils/runtime/client" }
babe-primitives = { package = "sp-consensus-babe", path = "../../primitives/consensus/babe" }
grandpa = { package = "sc-finality-grandpa", path = "../finality-grandpa" }
grandpa-primitives = { package = "sp-finality-granpda", path = "../../primitives/finality-grandpa" }
tokio = "0.1"
