Cargo.toml 1.79 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.12"
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.7"
17
cli = { package = "sc-cli", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
18
service = { package = "polkadot-service", path = "../service", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
19

20
21
22
libp2p = { version = "0.13.1", default-features = false, optional = true }
wasm-bindgen = { version = "0.2.55", optional = true }
wasm-bindgen-futures = { version = "0.4.5", optional = true }
23
24
25
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 }
26
kvdb-web = { version = "0.1.1", optional = true }
27
28
29
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 }

30
31
32
33
# Imported just for the `wasm-bindgen` feature
rand = { version = "0.7", features = ["wasm-bindgen"], optional = true }
rand6 = { package = "rand", version = "0.6.5", features = ["wasm-bindgen"], optional = true }

Gavin Wood's avatar
Gavin Wood committed
34
[features]
35
default = [ "wasmtime", "rocksdb" ]
Gavin Wood's avatar
Gavin Wood committed
36
wasmtime = [ "cli/wasmtime" ]
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",
45
	"kvdb-web",
46
	"substrate-service",
47
48
49
	"substrate-network",
	"rand",
	"rand6",
50
]