mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
bb175f0373
* cargo upgrade libp2p * Get rid of `NetworkBehaviourEventProcess` in handling of `CustomMessageOutcome` * Get rid of `NetworkBehaviourEventProcess` in handling of `request_responses::Event` * Get rid of `NetworkBehaviourEventProcess` in handling of `peer_info::PeerInfoEvent` * Get rid of `NetworkBehaviourEventProcess` in handling of `DiscoveryOut` * Get rid of `poll()` method in `Bahaviour` * minor: comments * Upgrade libp2p to 0.49.0 (unreleased) * Support multiple Kad protocol names * Make borrow checker happy * minor: wording * Make substrate build with libp2p-0.49.0 * rustfmt * Get rid of MdnsWrapper * Resolve deprecation warnings * Fix documentation * Apply suggestions from code review: fix typos Co-authored-by: Aaro Altonen <48052676+altonen@users.noreply.github.com> * Apply suggestion: simplify kad protocol name matching Co-authored-by: Aaro Altonen <48052676+altonen@users.noreply.github.com>
40 lines
1.5 KiB
TOML
40 lines
1.5 KiB
TOML
[package]
|
|
description = "Substrate network common"
|
|
name = "sc-network-common"
|
|
version = "0.10.0-dev"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
documentation = "https://docs.rs/sc-network-sync"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.11"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.57"
|
|
bitflags = "1.3.2"
|
|
bytes = "1"
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", features = [
|
|
"derive",
|
|
] }
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.2"
|
|
libp2p = { version = "0.49.0", features = [ "request-response", "kad" ] }
|
|
linked_hash_set = "0.1.3"
|
|
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../../utils/prometheus" }
|
|
smallvec = "1.8.0"
|
|
sc-consensus = { version = "0.10.0-dev", path = "../../consensus/common" }
|
|
sc-peerset = { version = "4.0.0-dev", path = "../../peerset" }
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
|
|
sp-finality-grandpa = { version = "4.0.0-dev", path = "../../../primitives/finality-grandpa" }
|
|
sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" }
|
|
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
|
|
thiserror = "1.0"
|