Cargo.toml 1.87 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.19"
Gav's avatar
Gav committed
4
5
authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot node implementation in Rust."
6
edition = "2018"
Gav's avatar
Gav committed
7

8
9
10
[lib]
crate-type = ["cdylib", "rlib"]

Gav's avatar
Gav committed
11
[dependencies]
12
log = "0.4.8"
13
14
futures = { version = "0.3.1", features = ["compat"] }
futures01 = { package = "futures", version = "0.1.29" }
15
structopt = "=0.3.7"
16
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
17
18
19
20
21
22
23
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
24
service = { package = "polkadot-service", path = "../service", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
25

26
tokio = { version = "0.1.22", optional = true }
27

28
29
30
31
wasm-bindgen = { version = "0.2.57", optional = true }
wasm-bindgen-futures = { version = "0.4.7", optional = true }
browser-utils = { package = "browser-utils", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", optional = true }
substrate-service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", optional = true, default-features = false }
32

Gavin Wood's avatar
Gavin Wood committed
33
[features]
34
35
default = [ "wasmtime", "rocksdb", "cli" ]
wasmtime = [ "sc-cli/wasmtime" ]
36
rocksdb = [ "service/rocksdb" ]
37
cli = [ "tokio" ]
38
39
40
browser = [
	"wasm-bindgen",
	"wasm-bindgen-futures",
41
	"browser-utils",
42
43
	"substrate-service",
]