Replace `futures` `select` with our own select enum to fix MSRV
authorMatt Corallo <git@bluematt.me>
Thu, 30 Mar 2023 21:52:03 +0000 (21:52 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 31 Mar 2023 00:01:40 +0000 (00:01 +0000)
commit54a51f8554c9e6c47285eabcfe5a8115d0e3dc98
treeea3610651281d7130747c556fe7cb856d953c6fc
parent9a50e301cb149d25603767617fc41078e833bf58
Replace `futures` `select` with our own select enum to fix MSRV

`futures` recently broke our MSRV by bumping the `syn` major
version in a patch release. This makes it impractical for us to
use, instead here we replace the usage of its `select_biased` macro
with a trivial enum.

Given its simplicity we likely should have done this without ever
taking the dependency.
lightning-background-processor/Cargo.toml
lightning-background-processor/src/lib.rs