Commit 7cb8e5b2 authored by Pierre Krieger's avatar Pierre Krieger Committed by Bastian Köcher
Browse files

Remove tokio dependency from networking and service (#351)

* Remove tokio dependency from networking

* Also remove tokio from service

* Finally fix tests
parent 0ba8e4c7
Pipeline #48187 passed with stages
in 10 minutes and 35 seconds
......@@ -2483,7 +2483,6 @@ dependencies = [
"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-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]]
......@@ -2597,7 +2596,6 @@ dependencies = [
"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-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]]
......
......@@ -16,7 +16,6 @@ substrate-network = { git = "https://github.com/paritytech/substrate", branch =
substrate-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sr-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
futures = "0.1"
tokio = "0.1.7"
log = "0.4"
exit-future = "0.1.4"
......
......@@ -41,7 +41,6 @@ use sr_primitives::traits::{ApiRef, ProvideRuntimeApi};
use std::collections::HashMap;
use std::sync::Arc;
use futures::{prelude::*, sync::mpsc};
use tokio::runtime::Runtime;
use parity_codec::Encode;
use super::TestContext;
......
......@@ -9,7 +9,6 @@ parking_lot = "0.7.1"
lazy_static = "1.0"
log = "0.4.6"
slog = "^2"
tokio = "0.1.7"
hex-literal = "0.2"
av_store = { package = "polkadot-availability-store", path = "../availability-store" }
consensus = { package = "polkadot-validation", path = "../validation" }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment