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

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

wasm-bindgen = { version = "0.2.55", optional = true }
wasm-bindgen-futures = { version = "0.4.5", optional = true }
Ashley's avatar
Ashley committed
browser-utils = { package = "browser-utils", git = "https://github.com/paritytech/substrate", branch = "ashley-browser-utils", optional = true }
Ashley's avatar
Ashley committed
substrate-service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "ashley-browser-utils", optional = true, default-features = false }
Ashley's avatar
Ashley committed
[target.'cfg(not(target_os = "unknown"))'.dependencies]
tokio = "0.1.22"
Gavin Wood's avatar
Gavin Wood committed
[features]
default = [ "wasmtime", "rocksdb" ]
Gavin Wood's avatar
Gavin Wood committed
wasmtime = [ "cli/wasmtime" ]
rocksdb = [ "service/rocksdb" ]
browser = [
	"wasm-bindgen",
	"wasm-bindgen-futures",
Ashley's avatar
Ashley committed
	"browser-utils",
	"substrate-service",
]