Files
pezkuwi-subxt/substrate/client/network/Cargo.toml
T
Ashley 1735683cc9 Upgrade from futures-preview to futures 0.3.1, and remove futures 0.1 where currently possible (#4083)
* Migrate node and node-template

* Migrate srml

* Simple changes

* Add async-std for interval

* Fix test-runtime warning

* Small changes

* move futures01 in core/rpc to dev-deps

* Change wasm CI builds

* Switch to async-std 1.0.1

* Remove async-std dep of network

* Add modified lockfile

* Fix node cli browser build

* Remove authority-discovery async-std dep

* Add Send + Sync to interval dyn stream
2019-11-22 13:06:23 +01:00

66 lines
2.6 KiB
TOML

[package]
description = "Substrate network protocol"
name = "substrate-network"
version = "2.0.0"
license = "GPL-3.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
bytes = "0.4.12"
derive_more = "0.15.0"
either = "1.5.3"
log = "0.4.8"
parking_lot = "0.9.0"
bitflags = "1.2.0"
fnv = "1.0.6"
futures = "0.1.29"
futures03 = { package = "futures", version = "0.3.1", features = ["compat"] }
futures-timer = "0.4.0"
linked-hash-map = "0.5.2"
linked_hash_set = "0.1.3"
lru = "0.4.0"
rustc-hex = "2.0.1"
rand = "0.7.2"
libp2p = { version = "0.13.0", default-features = false, features = ["libp2p-websocket"] }
fork-tree = { path = "../../utils/fork-tree" }
consensus = { package = "substrate-consensus-common", path = "../../primitives/consensus/common" }
client = { package = "substrate-client", path = "../" }
client-api = { package = "substrate-client-api", path = "../api" }
header_metadata = { package = "substrate-header-metadata", path = "../header-metadata" }
sr-primitives = { path = "../../primitives/sr-primitives" }
sr-arithmetic = { path = "../../primitives/sr-arithmetic" }
primitives = { package = "substrate-primitives", path = "../../primitives/core" }
block-builder = { package = "substrate-block-builder", path = "../block-builder" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
peerset = { package = "substrate-peerset", path = "../../primitives/peerset" }
serde = { version = "1.0.101", features = ["derive"] }
serde_json = "1.0.41"
slog = { version = "2.5.2", features = ["nested-values"] }
slog_derive = "0.1.1"
smallvec = "0.6.10"
tokio-io = "0.1.12"
tokio = { version = "0.1.22", optional = true }
unsigned-varint = { version = "0.2.2", features = ["codec"] }
keyring = { package = "substrate-keyring", path = "../../primitives/keyring", optional = true }
test_client = { package = "substrate-test-client", path = "../../test/utils/client", optional = true }
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client", optional = true }
erased-serde = "0.3.9"
void = "1.0.2"
zeroize = "1.0.0"
babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../../primitives/consensus/babe" }
[dev-dependencies]
env_logger = "0.7.0"
keyring = { package = "substrate-keyring", path = "../../primitives/keyring" }
quickcheck = "0.9.0"
rand = "0.7.2"
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
test_runtime = { package = "substrate-test-runtime", path = "../../test/utils/runtime" }
tempdir = "0.3.7"
tokio = "0.1.22"
[features]
default = []
test-helpers = ["keyring", "test-client", "tokio"]