mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Remove tokio dependency from networking and service (#351)
* Remove tokio dependency from networking * Also remove tokio from service * Finally fix tests
This commit is contained in:
committed by
Bastian Köcher
parent
56845f74b5
commit
14cf3142d3
Generated
-2
@@ -2483,7 +2483,6 @@ dependencies = [
|
|||||||
"substrate-keyring 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
"substrate-keyring 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||||
"substrate-network 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
"substrate-network 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||||
"substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
"substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||||
"tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -2597,7 +2596,6 @@ dependencies = [
|
|||||||
"substrate-service 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
"substrate-service 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||||
"substrate-telemetry 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
"substrate-telemetry 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||||
"substrate-transaction-pool 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
"substrate-transaction-pool 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||||
"tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ substrate-network = { git = "https://github.com/paritytech/substrate", branch =
|
|||||||
substrate-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
substrate-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
||||||
sr-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
sr-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
||||||
futures = "0.1"
|
futures = "0.1"
|
||||||
tokio = "0.1.7"
|
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
exit-future = "0.1.4"
|
exit-future = "0.1.4"
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ use sr_primitives::traits::{ApiRef, ProvideRuntimeApi};
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use futures::{prelude::*, sync::mpsc};
|
use futures::{prelude::*, sync::mpsc};
|
||||||
use tokio::runtime::Runtime;
|
|
||||||
use parity_codec::Encode;
|
use parity_codec::Encode;
|
||||||
|
|
||||||
use super::TestContext;
|
use super::TestContext;
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ parking_lot = "0.7.1"
|
|||||||
lazy_static = "1.0"
|
lazy_static = "1.0"
|
||||||
log = "0.4.6"
|
log = "0.4.6"
|
||||||
slog = "^2"
|
slog = "^2"
|
||||||
tokio = "0.1.7"
|
|
||||||
hex-literal = "0.2"
|
hex-literal = "0.2"
|
||||||
av_store = { package = "polkadot-availability-store", path = "../availability-store" }
|
av_store = { package = "polkadot-availability-store", path = "../availability-store" }
|
||||||
consensus = { package = "polkadot-validation", path = "../validation" }
|
consensus = { package = "polkadot-validation", path = "../validation" }
|
||||||
|
|||||||
Reference in New Issue
Block a user