Drop `tokio/macros` dependency in `lightning-net-tokio`, fix MSRV
authorMatt Corallo <git@bluematt.me>
Mon, 17 Jul 2023 21:01:02 +0000 (21:01 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 17 Jul 2023 23:20:39 +0000 (23:20 +0000)
commitfd2464374b2e826a77582c511eb65bece4403be4
tree8f3a2df773f6b0246e2050aa8dd84e96c6762f1d
parentc5c5f3fea2012dc53a1974f7ad6c7825b1e42d37
Drop `tokio/macros` dependency in `lightning-net-tokio`, fix MSRV

The `tokio` `macros` feature depends on `proc-macro2`, which
recently broke its MSRV in a patch version. Such crates aren't
reasonable for us to have as dependencies, so instead we replace
the one trivial use we have of `tokio::select!()` with our own
manual future.
lightning-net-tokio/Cargo.toml
lightning-net-tokio/src/lib.rs