mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 10:27:59 +00:00
1e126eab2f
* Remove useless internal messages * Remove NetworkService::disconnect_peer * Remove NetworkMsg altogether * Rename ProtocolMsg ServerToWorkerMsg * Remove useless code * Add example for parse_str_addr * Move parse_str_addr and ProtocolId to config * Don't reexport the content of config * Rework the imports * More reexports rework * Add documentation * Move finalization report to network future * Move on_block_imported to worker * get_value/put_value no longer locking * local_peer_id() no longer locks * Remove FetchFuture * Service imports cleanup * Produce the network state in the network task * Merge network task and RPC network task * Move network methods to NetworkWorker * Remove Arc peers system from network * add_reserved_peer now goes through the channel * Remove Mutex around network swarm * Remove the FnOnce alias traits * Replace is_offline with num_connected * Improve style of poll() * Fix network tests * Some doc in service module * Remove macro export * Minor doc changes * Remove the synchronized() method of the import queue * Line width * Line widths * Fix import queue tests * Fix CLI tests
59 lines
2.1 KiB
TOML
59 lines
2.1 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"
|
|
derive_more = "0.14.0"
|
|
log = "0.4"
|
|
parking_lot = "0.8.0"
|
|
bitflags = "1.0"
|
|
fnv = "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"
|
|
libp2p = { version = "0.10.0", default-features = false, features = ["secp256k1", "libp2p-websocket"] }
|
|
fork-tree = { path = "../../core/utils/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 = "4.1.1", features = ["derive"] }
|
|
peerset = { package = "substrate-peerset", path = "../../core/peerset" }
|
|
serde = { version = "1.0.70", features = ["derive"] }
|
|
serde_json = "1.0.24"
|
|
slog = { version = "^2", features = ["nested-values"] }
|
|
slog_derive = "0.1.1"
|
|
smallvec = "0.6"
|
|
tokio-io = "0.1"
|
|
tokio-timer = "0.2.11"
|
|
tokio = { version = "0.1.11", optional = true }
|
|
unsigned-varint = { version = "0.2.1", features = ["codec"] }
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring", optional = true }
|
|
test_client = { package = "substrate-test-client", path = "../../core/test-client", optional = true }
|
|
test-client = { package = "substrate-test-runtime-client", path = "../../core/test-runtime/client", optional = true }
|
|
erased-serde = "0.3.9"
|
|
void = "1.0"
|
|
zeroize = "0.9.0"
|
|
|
|
[dev-dependencies]
|
|
env_logger = { version = "0.6" }
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
|
|
quickcheck = "0.8.5"
|
|
rand = "0.6.5"
|
|
test-client = { package = "substrate-test-runtime-client", path = "../../core/test-runtime/client" }
|
|
test_runtime = { package = "substrate-test-runtime", path = "../../core/test-runtime" }
|
|
tempdir = "0.3"
|
|
tokio = "0.1.11"
|
|
|
|
[features]
|
|
default = []
|
|
test-helpers = ["keyring", "test-client", "tokio"]
|