Use SpawnTaskHandles for spawning tasks in the tx pool (#8958)

* Remove futures-diagnose

* Use `SpawnTaskHandle`s for spawning tasks in the tx pool

* Box the spawner

* Fix tests

* Use the testing task executor
This commit is contained in:
Ashley
2021-06-01 16:28:03 +02:00
committed by GitHub
parent ac3c88fd34
commit 84e402389b
5 changed files with 12 additions and 31 deletions
-17
View File
@@ -2059,22 +2059,6 @@ dependencies = [
"num_cpus",
]
[[package]]
name = "futures-diagnose"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdcef58a173af8148b182684c9f2d5250875adbcaff7b5794073894f9d8634a9"
dependencies = [
"futures 0.1.31",
"futures 0.3.13",
"lazy_static",
"log",
"parking_lot 0.9.0",
"pin-project 0.4.27",
"serde",
"serde_json",
]
[[package]]
name = "futures-executor"
version = "0.3.13"
@@ -8116,7 +8100,6 @@ version = "3.0.0"
dependencies = [
"assert_matches",
"futures 0.3.13",
"futures-diagnose",
"hex",
"intervalier",
"log",