Skip to content
Cargo.toml 2.73 KiB
Newer Older
[package]
name = "polkadot-cli"
authors = ["Parity Technologies <[email protected]>"]
description = "Polkadot Relay-chain Client Node"
edition = "2018"
[package.metadata.wasm-pack.profile.release]
# `wasm-opt` has some problems on linux, see
# https://github.com/rustwasm/wasm-pack/issues/781 etc.
wasm-opt = false

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
Gavin Wood's avatar
Gavin Wood committed
futures = { version = "0.3.4", features = ["compat"] }
Gavin Wood's avatar
Gavin Wood committed
structopt = "0.3.8"
Bastian Köcher's avatar
Bastian Köcher committed
sp-api = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" }
service = { package = "polkadot-service", path = "../service", default-features = false, optional = true }
service-new = { package = "polkadot-service-new", path = "../node/service", default-features = false, optional = true }
Gavin Wood's avatar
Gavin Wood committed

tokio = { version = "0.2.13", features = ["rt-threaded"], optional = true }
Bastian Köcher's avatar
Bastian Köcher committed
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", optional = true }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", optional = true }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", optional = true }
wasm-bindgen = { version = "0.2.57", optional = true }
wasm-bindgen-futures = { version = "0.4.7", optional = true }
Bastian Köcher's avatar
Bastian Köcher committed
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", optional = true }
# this crate is used only to enable `trie-memory-tracker` feature
# see https://github.com/paritytech/substrate/pull/6745
Bastian Köcher's avatar
Bastian Köcher committed
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", default-features = false }
[build-dependencies]
Bastian Köcher's avatar
Bastian Köcher committed
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" }
Gavin Wood's avatar
Gavin Wood committed
[features]
default = [ "wasmtime", "db", "cli", "service-old", "trie-memory-tracker" ]
wasmtime = [ "sc-cli/wasmtime" ]
db = [ "service/db" ]
	"sc-service",
	"frame-benchmarking-cli",
service-old = [ "service/full-node" ]
browser = [
	"wasm-bindgen",
	"wasm-bindgen-futures",
	"browser-utils",
	"service",
runtime-benchmarks = [ "service/runtime-benchmarks" ]
service-rewr = [ "service-new/full-node" ]
trie-memory-tracker = [ "sp-trie/memory-tracker" ]