Cargo.toml 2.58 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-cli"
3
version = "0.9.5"
Gav's avatar
Gav committed
4
authors = ["Parity Technologies <admin@parity.io>"]
5
description = "Polkadot Relay-chain Client Node"
6
edition = "2018"
Gav's avatar
Gav committed
7

Ashley's avatar
Ashley committed
8
9
10
11
12
[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

13
14
15
[lib]
crate-type = ["cdylib", "rlib"]

Gav's avatar
Gav committed
16
[dependencies]
17
log = "0.4.13"
18
thiserror = "1.0.23"
19
structopt = { version = "0.3.21", optional = true }
20
wasm-bindgen = { version = "0.2.70", optional = true }
21
wasm-bindgen-futures = { version = "0.4.23", optional = true }
22
futures = "0.3.15"
23

24
service = { package = "polkadot-service", path = "../node/service", default-features = false, optional = true }
25
polkadot-node-core-pvf = { path = "../node/core/pvf", optional = true }
Gavin Wood's avatar
Gavin Wood committed
26

27
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
28
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
Kian Paimani's avatar
Kian Paimani committed
29
try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
30
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
31
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
32
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
33

34
35
36
# this crate is used only to enable `trie-memory-tracker` feature
# see https://github.com/paritytech/substrate/pull/6745
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
37

38
39
40
[build-dependencies]
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }

Gavin Wood's avatar
Gavin Wood committed
41
[features]
42
43
default = [ "wasmtime", "db", "cli", "full-node", "trie-memory-tracker" ]
wasmtime = [ "sc-cli/wasmtime" ]
44
db = [ "service/db" ]
45
cli = [
46
	"structopt",
47
	"sc-cli",
48
	"sc-service",
49
	"frame-benchmarking-cli",
Kian Paimani's avatar
Kian Paimani committed
50
	"try-runtime-cli",
51
	"polkadot-node-core-pvf",
52
]
53
54
55
browser = [
	"wasm-bindgen",
	"wasm-bindgen-futures",
56
	"browser-utils",
57
	"service/light-node",
58
]
59
runtime-benchmarks = [ "service/runtime-benchmarks" ]
60
trie-memory-tracker = [ "sp-trie/memory-tracker" ]
61
full-node = [ "service/full-node" ]
Kian Paimani's avatar
Kian Paimani committed
62
try-runtime = [ "service/try-runtime" ]
63
64
65
66
67
68
69

# Configure the native runtimes to use. Polkadot is always enabled by default.
#
# Validators require the native runtime currently
kusama-native = [ "service/kusama-native" ]
westend-native = [ "service/westend-native" ]
rococo-native = [ "service/rococo-native" ]
70
71

malus = [ "full-node", "service/malus" ]