Upgrade tokio to 1.22.0 and replace async-std with tokio (#1917)

* Make tokio executor mandatory

* kick CI

* Update Cargo.lock
This commit is contained in:
Dmitry Markin authored and GitHub committed 2022-12-05 13:01:56 +00:00
1 parent b27e494a44
commit 00c2ee56de
2 files changed
+194 -209

No files matched your search

+192 -207
View File
File diff suppressed because it is too large. Load diff
@@ -72,9 +72,9 @@ pub(crate) fn build_collator_network(
role: config.role.clone(),
executor: {
let spawn_handle = Clone::clone(&spawn_handle);
Some(Box::new(move |fut| {
Box::new(move |fut| {
spawn_handle.spawn("libp2p-node", Some("networking"), fut);
}))
})
},
fork_id: None,
chain_sync: Box::new(chain_sync),