Cargo.toml 2.38 KiB
Newer Older
[package]
name = "polkadot-cli"
version = "0.8.27"
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]
log = "0.4.11"
thiserror = "1.0.22"
structopt = { version = "0.3.21", optional = true }
wasm-bindgen = { version = "0.2.69", optional = true }
wasm-bindgen-futures = { version = "0.4.19", optional = true }
service = { package = "polkadot-service", path = "../node/service", default-features = false, optional = true }
polkadot-parachain = { path = "../parachain", optional = true }
Gavin Wood's avatar
Gavin Wood committed

asynchronous rob's avatar
asynchronous rob committed
sp-core = { git = "https://github.com/paritytech/substrate", branch = "rh-babe-current-epoch-info" }
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "rh-babe-current-epoch-info" }
tracing-futures = "0.2.4"
asynchronous rob's avatar
asynchronous rob committed
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "rh-babe-current-epoch-info", optional = true }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "rh-babe-current-epoch-info", optional = true }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "rh-babe-current-epoch-info", optional = true }
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "rh-babe-current-epoch-info", optional = true }
# this crate is used only to enable `trie-memory-tracker` feature
# see https://github.com/paritytech/substrate/pull/6745
asynchronous rob's avatar
asynchronous rob committed
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "rh-babe-current-epoch-info", default-features = false }
[build-dependencies]
asynchronous rob's avatar
asynchronous rob committed
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "rh-babe-current-epoch-info" }
Gavin Wood's avatar
Gavin Wood committed
[features]
default = [ "wasmtime", "db", "cli", "full-node", "trie-memory-tracker", "polkadot-parachain" ]
wasmtime = [ "sc-cli/wasmtime" ]
db = [ "service/db" ]
	"structopt",
	"sc-service",
	"frame-benchmarking-cli",
browser = [
	"wasm-bindgen",
	"wasm-bindgen-futures",
	"browser-utils",
	"service",
runtime-benchmarks = [ "service/runtime-benchmarks" ]
trie-memory-tracker = [ "sp-trie/memory-tracker" ]
full-node = [ "service/full-node" ]
real-overseer = [ "service/real-overseer" ]