mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 15:07:59 +00:00
ad2d958248
* Make test-client generic over runtime. * Make sure genesis storage is constructed correctly. * Use prelude in tests. * Add an example of how to use test-client with node/runtime. * Bump version. * Rename test-clients.
46 lines
1.7 KiB
TOML
46 lines
1.7 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"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
derive_more = "0.14.0"
|
|
log = "0.4"
|
|
parking_lot = "0.8.0"
|
|
bitflags = "1.0"
|
|
futures = "0.1.17"
|
|
linked-hash-map = "0.5"
|
|
linked_hash_set = "0.1.3"
|
|
lru-cache = "0.1.1"
|
|
rustc-hex = "2.0"
|
|
rand = "0.6"
|
|
fork-tree = { path = "../../core/util/fork-tree" }
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives" }
|
|
consensus = { package = "substrate-consensus-common", path = "../../core/consensus/common" }
|
|
client = { package = "substrate-client", path = "../../core/client" }
|
|
runtime_primitives = { package = "sr-primitives", path = "../../core/sr-primitives" }
|
|
parity-codec = { version = "3.3", features = ["derive"] }
|
|
network_libp2p = { package = "substrate-network-libp2p", path = "../../core/network-libp2p" }
|
|
peerset = { package = "substrate-peerset", path = "../../core/peerset" }
|
|
tokio-timer = "0.2.11"
|
|
tokio = { version = "0.1.11", optional = true }
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring", optional = true }
|
|
test-client = { package = "substrate-test-runtime-client", path = "../../core/test-runtime/client", optional = true }
|
|
void = "1.0"
|
|
|
|
[dev-dependencies]
|
|
env_logger = { version = "0.6" }
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
|
|
test-client = { package = "substrate-test-runtime-client", path = "../../core/test-runtime/client" }
|
|
consensus = { package = "substrate-consensus-common", path = "../../core/consensus/common", features = ["test-helpers"] }
|
|
tokio = "0.1.11"
|
|
|
|
[features]
|
|
default = []
|
|
test-helpers = ["keyring", "test-client", "consensus/test-helpers", "tokio"]
|