mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 21:37:56 +00:00
90c6f85db5
* Add a substrate-peerset crate * Some adjustements * More adjustements * Use a temporary libp2p branch * Add back-off mechanism * Fix RPC tests * Some adjustements * Another libp2p bugfix * Do a round-robin in the peerset * Use a real dependency instead of a patch for libp2p * Initialize reserved nodes correctly * Better diagnostic for no address * Don't allocate slots if in reserved only * Ban node on dial failure * Fix indentation
43 lines
1.5 KiB
TOML
43 lines
1.5 KiB
TOML
[package]
|
|
description = "Substrate network protocol"
|
|
name = "substrate-network"
|
|
version = "0.1.0"
|
|
license = "GPL-3.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
crossbeam-channel = "0.3.6"
|
|
log = "0.4"
|
|
parking_lot = "0.7.1"
|
|
error-chain = "0.12"
|
|
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.2", features = ["derive"] }
|
|
network_libp2p = { package = "substrate-network-libp2p", path = "../../core/network-libp2p" }
|
|
peerset = { package = "substrate-peerset", path = "../../core/peerset" }
|
|
tokio = "0.1.11"
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring", optional = true }
|
|
test_client = { package = "substrate-test-client", path = "../../core/test-client", optional = true }
|
|
|
|
[dev-dependencies]
|
|
env_logger = { version = "0.6" }
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
|
|
test_client = { package = "substrate-test-client", path = "../../core/test-client" }
|
|
|
|
[features]
|
|
default = []
|
|
test-helpers = ["keyring", "test_client"]
|