]> git.bitcoin.ninja Git - ldk-sample/commit
Drop `futures` dependency with `tokio::select`
authorMatt Corallo <git@bluematt.me>
Sun, 23 Apr 2023 17:03:57 +0000 (17:03 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 24 Apr 2023 03:26:29 +0000 (03:26 +0000)
commita9b67530dd95bc1d2b0aa5f075efb6fa7c002d5f
treed9dbc3535927f414c90f13e6473221409bdb419c
parent64bfb6d669a494d72419519aa3645322073baaf7
Drop `futures` dependency with `tokio::select`

Manually poll'ing a future every 10ms rather than selecting across
it and a timer is less effecient, and certainly not worth taking a
dependency to do.
Cargo.toml
src/cli.rs