Cargo.toml 1.54 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-cli"
3
version = "0.7.9"
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
13
log = "0.4.8"
tokio = "0.1.22"
14
15
futures = { version = "0.3.1", features = ["compat"] }
futures01 = { package = "futures", version = "0.1.29" }
16
structopt = "0.3.4"
17
cli = { package = "sc-cli", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
18
service = { package = "polkadot-service", path = "../service" }
Gavin Wood's avatar
Gavin Wood committed
19

20
21
22
23
24
25
26
27
28
29
libp2p = { version = "0.13.0", default-features = false, optional = true }
wasm-bindgen = { version = "0.2.45", optional = true }
wasm-bindgen-futures = { version = "0.3.22", optional = true }
console_log = { version = "0.1.2", optional = true }
console_error_panic_hook = { version = "0.1.1", optional = true }
js-sys = { version = "0.3.22", optional = true }
kvdb-memorydb = { version = "0.1.1", optional = true }
substrate-service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", optional = true, default-features = false }
substrate-network = { package = "sc-network", git = "https://github.com/paritytech/substrate", branch = "polkadot-master", optional = true }

Gavin Wood's avatar
Gavin Wood committed
30
[features]
31
default = [ "wasmtime", "rocksdb" ]
Gavin Wood's avatar
Gavin Wood committed
32
wasmtime = [ "cli/wasmtime" ]
33
34
35
36
37
38
39
40
41
42
43
44
rocksdb = [ "service/rocksdb" ]
browser = [
	"libp2p",
	"wasm-bindgen",
	"console_error_panic_hook",
	"wasm-bindgen-futures",
	"console_log",
	"js-sys",
	"kvdb-memorydb",
	"substrate-service",
	"substrate-network"
]