Cargo.toml 2.56 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-cli"
Gavin Wood's avatar
Gavin Wood committed
3
version = "0.8.25"
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.8"
Gavin Wood's avatar
Gavin Wood committed
18
futures = { version = "0.3.4", features = ["compat"] }
Gavin Wood's avatar
Gavin Wood committed
19
structopt = "0.3.8"
20
21
22
23
24
25
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
Wei Tang's avatar
Wei Tang committed
26
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
27
service = { package = "polkadot-service", path = "../node/service", default-features = false, optional = true }
Gavin Wood's avatar
Gavin Wood committed
28

29
tokio = { version = "0.2.13", features = ["rt-threaded"], optional = true }
30
31
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
32
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
33

34
35
wasm-bindgen = { version = "0.2.57", optional = true }
wasm-bindgen-futures = { version = "0.4.7", optional = true }
36
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
37
38
39
# 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 }
40

41
42
43
[build-dependencies]
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }

Gavin Wood's avatar
Gavin Wood committed
44
[features]
45
default = [ "wasmtime", "db", "cli", "full-node", "trie-memory-tracker" ]
46
wasmtime = [ "sc-cli/wasmtime" ]
47
db = [ "service/db" ]
48
49
50
cli = [
	"tokio",
	"sc-cli",
51
	"sc-service",
52
	"frame-benchmarking-cli",
53
]
54
55
56
browser = [
	"wasm-bindgen",
	"wasm-bindgen-futures",
57
	"browser-utils",
58
	"service",
59
]
60
runtime-benchmarks = [ "service/runtime-benchmarks" ]
61
trie-memory-tracker = [ "sp-trie/memory-tracker" ]
62
full-node = [ "service/full-node" ]