feat: add TaskManager and Executor types (#357)

This commit is contained in:
Matthias Seitz
2022-12-08 18:15:48 +01:00
committed by GitHub
parent 2f73345696
commit f489ec51f0
4 changed files with 170 additions and 0 deletions

17
crates/tasks/Cargo.toml Normal file
View File

@ -0,0 +1,17 @@
[package]
name = "reth-tasks"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
description = "Task managment"
[dependencies]
tokio = { version = "1", features = ["sync", "rt"] }
tracing-futures = "0.2"
tracing = { version = "0.1", default-features = false }
futures-util = "0.3"
[dev-dependencies]
tokio = { version = "1", features = ["sync", "rt", "rt-multi-thread"] }