mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
bcd2f274f9
* Ping active connections * Bump rust-libp2p * Deny connection attempts if we're already connected * Properly check max_peers against custom connections * Fix set_until not immediately called * Clean up unusued connections and stop pinging them * Disconnect Kad connections after 20 seconds of inactivity
33 lines
1.1 KiB
TOML
33 lines
1.1 KiB
TOML
[package]
|
|
description = "libp2p implementation of the ethcore network library"
|
|
homepage = "http://parity.io"
|
|
license = "GPL-3.0"
|
|
name = "substrate-network-libp2p"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[dependencies]
|
|
bytes = "0.4"
|
|
error-chain = { version = "0.12", default-features = false }
|
|
fnv = "1.0"
|
|
futures = "0.1"
|
|
libp2p = { git = "https://github.com/tomaka/libp2p-rs", rev = "38c9238a74504a6149909eb80f73608f63ab46c7", default-features = false, features = ["libp2p-secio", "libp2p-secio-secp256k1"] }
|
|
ethcore-io = { git = "https://github.com/paritytech/parity.git" }
|
|
ethkey = { git = "https://github.com/paritytech/parity.git" }
|
|
ethereum-types = "0.3"
|
|
ipnetwork = "0.12.6"
|
|
parking_lot = "0.5"
|
|
libc = "0.2"
|
|
log = "0.3"
|
|
rand = "0.5.0"
|
|
tokio-core = "0.1"
|
|
tokio-io = "0.1"
|
|
tokio-timer = "0.2"
|
|
varint = { git = "https://github.com/libp2p/rust-libp2p" }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.2"
|
|
ethcore-bytes = { git = "https://github.com/paritytech/parity.git" }
|
|
ethcore-io = { git = "https://github.com/paritytech/parity.git" }
|
|
ethcore-logger = { git = "https://github.com/paritytech/parity.git" }
|