Cargo.toml 2.22 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-cli"
Gavin Wood's avatar
Gavin Wood committed
3
version = "0.7.29-pre1"
Gav's avatar
Gav committed
4
authors = ["Parity Technologies <admin@parity.io>"]
Cecile Tonglet's avatar
Cecile Tonglet committed
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"
Cecile Tonglet's avatar
Cecile Tonglet committed
20
21
22
23
24
25
26
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 = { 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" }
27
service = { package = "polkadot-service", path = "../service", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
28

29
tokio = { version = "0.2.13", features = ["rt-threaded"], optional = true }
Cecile Tonglet's avatar
Cecile Tonglet committed
30
31
32
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 }
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 }
Cecile Tonglet's avatar
Cecile Tonglet committed
36
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
37

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

Gavin Wood's avatar
Gavin Wood committed
41
[features]
42
43
default = [ "wasmtime", "rocksdb", "cli" ]
wasmtime = [ "sc-cli/wasmtime" ]
44
rocksdb = [ "service/rocksdb" ]
45
46
47
cli = [
	"tokio",
	"sc-cli",
48
	"sc-service",
49
	"frame-benchmarking-cli",
Ashley's avatar
Ashley committed
50
	"service/full-node",
51
]
52
53
54
browser = [
	"wasm-bindgen",
	"wasm-bindgen-futures",
55
	"browser-utils",
56
]
57
runtime-benchmarks = ["service/runtime-benchmarks"]