Add `futures` CI check
authorElias Rohrer <ero@tnull.de>
Mon, 10 Oct 2022 18:47:18 +0000 (14:47 -0400)
committerElias Rohrer <ero@tnull.de>
Mon, 10 Oct 2022 18:47:18 +0000 (14:47 -0400)
commit0038a3f7dea705823939909c60bbd3826362bc1f
tree8928161a23280e342b9f46c83d59227f8e2bf469
parentd3c369dce713360f76c0a74552e41057576181b4
Add `futures` CI check

This adds testing of the `futures` feature to CI. In order to avoid
introducing a dependency on `std`, we switch to using the `futures-util`
crate directly enabling only a subset of features. To this end, we also
switch to using the `select_biased!` macro, which is equivalent to
`select!` except that it doesn't choose ready futures pseudo-randomly
at runtime.
.github/workflows/build.yml
lightning-background-processor/Cargo.toml
lightning-background-processor/src/lib.rs
lightning-block-sync/Cargo.toml
lightning-block-sync/src/rest.rs
lightning-block-sync/src/rpc.rs