mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-01 14:47:24 +00:00
ac952532e1
* Make availability-store compile for WASM * Use --manifest-path instead * Make validation work on wasm! * Switch to Spawn trait * Migrate validation to std futures * Migrate network to std futures * Final changes to validation * Tidy up network * Tidy up validation * Switch branch * Migrate service * Get polkadot to compile via wasm! * Add browser-demo * Add initial browser file * Add browser-demo * Tidy * Temp switch back to substrate/master * tidy * Fix wasm build * Re-add release flag * Add the /ws bootnode to the chain specs * Copy changes from master * Switch branch * Switch libp2p and add wasm-timer * Switch back libp2p and add rand * Fix bootnodes PeerIds * use browser indexdb * Reduce changeset
51 lines
1.8 KiB
TOML
51 lines
1.8 KiB
TOML
[package]
|
|
name = "polkadot-cli"
|
|
version = "0.7.9"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Polkadot node implementation in Rust."
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
log = "0.4.8"
|
|
tokio = "0.1.22"
|
|
futures = { version = "0.3.1", features = ["compat"] }
|
|
futures01 = { package = "futures", version = "0.1.29" }
|
|
structopt = "0.3.4"
|
|
cli = { package = "sc-cli", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
|
service = { package = "polkadot-service", path = "../service", default-features = false }
|
|
|
|
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 }
|
|
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-web = { 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 }
|
|
|
|
# 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 }
|
|
|
|
[features]
|
|
default = [ "wasmtime", "rocksdb" ]
|
|
wasmtime = [ "cli/wasmtime" ]
|
|
rocksdb = [ "service/rocksdb" ]
|
|
browser = [
|
|
"libp2p",
|
|
"wasm-bindgen",
|
|
"console_error_panic_hook",
|
|
"wasm-bindgen-futures",
|
|
"console_log",
|
|
"js-sys",
|
|
"kvdb-web",
|
|
"substrate-service",
|
|
"substrate-network",
|
|
"rand",
|
|
"rand6",
|
|
]
|