Remove tokio dependency from tendermint-machine

Indirects it via a minimal wrapper which can be trivially patched.
This commit is contained in:
Luke Parker
2024-09-05 16:30:27 -04:00
parent efc7d70ab1
commit ac7b98daac
10 changed files with 70 additions and 3 deletions

8
Cargo.lock generated
View File

@@ -5720,6 +5720,13 @@ version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
[[package]]
name = "patchable-async-sleep"
version = "0.1.0"
dependencies = [
"tokio",
]
[[package]]
name = "pbkdf2"
version = "0.11.0"
@@ -9843,6 +9850,7 @@ dependencies = [
"hex",
"log",
"parity-scale-codec",
"patchable-async-sleep",
"serai-db",
"thiserror",
"tokio",