Cargo.toml 1.61 KiB
Newer Older
[package]
name = "polkadot-cli"
Gavin Wood's avatar
Gavin Wood committed
version = "0.7.1"
authors = ["Parity Technologies <[email protected]>"]
description = "Polkadot node implementation in Rust."
edition = "2018"
Ashley's avatar
Ashley committed
[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
futures = { version = "0.3.1", features = ["compat"] }
futures01 = { package = "futures", version = "0.1.29" }
Ashley's avatar
Ashley committed
cli = { package = "substrate-cli", git = "https://github.com/paritytech/substrate", branch = "ashley-update-exit-future" }
service = { package = "polkadot-service", path = "../service", default-features = false }
Gavin Wood's avatar
Gavin Wood committed

Ashley's avatar
Ashley committed
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 = "substrate-service", git = "https://github.com/paritytech/substrate", branch = "ashley-update-exit-future", optional = true, default-features = false }
substrate-network = {package = "substrate-network", git = "https://github.com/paritytech/substrate", branch = "ashley-update-exit-future", optional = true }

Gavin Wood's avatar
Gavin Wood committed
[features]
default = [ "wasmtime", "rocksdb" ]
Gavin Wood's avatar
Gavin Wood committed
wasmtime = [ "cli/wasmtime" ]
rocksdb = [ "service/rocksdb" ]
Ashley's avatar
Ashley committed
browser = [
	"libp2p",
	"wasm-bindgen",
	"console_error_panic_hook",
	"wasm-bindgen-futures",
	"console_log",
	"js-sys",
	"kvdb-memorydb",
	"substrate-service",
	"substrate-network"
]