mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 23:08:03 +00:00
a685582bfd
* Extract `NetworkKVProvider` trait in `sc-authority-discovery` and remove unnecessary dependency * Extract `NetworkSyncForkRequest` trait in `sc-finality-grandpa` * Relax requirements on `SyncOracle` trait, remove extra native methods from `NetworkService` that are already provided by trait impls * Move `NetworkSigner` trait from `sc-authority-discovery` into `sc-network-common` and de-duplicate methods on `NetworkService` * Move `NetworkKVProvider` trait from `sc-authority-discovery` into `sc-network-common` and de-duplicate methods on `NetworkService` * Minimize `sc-authority-discovery` dependency on `sc-network` * Move `NetworkSyncForkRequest` trait from `sc-finality-grandpa` to `sc-network-common` and de-duplicate methods in `NetworkService` * Extract `NetworkStatusProvider` trait and de-duplicate methods on `NetworkService` * Extract `NetworkPeers` trait and de-duplicate methods on `NetworkService` * Extract `NetworkEventStream` trait and de-duplicate methods on `NetworkService` * Move more methods from `NetworkService` into `NetworkPeers` trait * Move `NetworkStateInfo` trait into `sc-network-common` * Extract `NetworkNotification` trait and de-duplicate methods on `NetworkService` * Extract `NetworkRequest` trait and de-duplicate methods on `NetworkService` * Remove `NetworkService::local_peer_id()`, it is already provided by `NetworkStateInfo` impl * Extract `NetworkTransaction` trait and de-duplicate methods on `NetworkService` * Extract `NetworkBlock` trait and de-duplicate methods on `NetworkService` * Remove dependencies on `NetworkService` from most of the methods of `sc-service` * Address simple review comments
44 lines
1.8 KiB
TOML
44 lines
1.8 KiB
TOML
[package]
|
|
name = "sc-authority-discovery"
|
|
version = "0.10.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Substrate authority discovery."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.10"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.1"
|
|
ip_network = "0.4.1"
|
|
libp2p = { version = "0.46.1", default-features = false, features = ["kad"] }
|
|
log = "0.4.17"
|
|
prost = "0.10"
|
|
rand = "0.7.2"
|
|
thiserror = "1.0"
|
|
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" }
|
|
sc-client-api = { version = "4.0.0-dev", path = "../api" }
|
|
sc-network-common = { version = "0.10.0-dev", path = "../network/common" }
|
|
sc-network = { version = "0.10.0-dev", path = "../network" }
|
|
sp-api = { version = "4.0.0-dev", path = "../../primitives/api" }
|
|
sp-authority-discovery = { version = "4.0.0-dev", path = "../../primitives/authority-discovery" }
|
|
sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
|
|
sp-core = { version = "6.0.0", path = "../../primitives/core" }
|
|
sp-keystore = { version = "0.12.0", path = "../../primitives/keystore" }
|
|
sp-runtime = { version = "6.0.0", path = "../../primitives/runtime" }
|
|
|
|
[dev-dependencies]
|
|
quickcheck = { version = "1.0.3", default-features = false }
|
|
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }
|
|
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
|