Besides that, I was able to get rid of async-std and futures-timer, by implementing the respective things using tokio. I also removed some unused deps (envy, dotenv, void and utoipa), but left thiserror and anyhow in, despite being unused, since we're going to be using those anyway, when we implement proper error-handling (or, if not, we can remove them then).
This fixes https://github.com/BitcreditProtocol/E-Bill/issues/116, except for libp2p, for which I created https://github.com/BitcreditProtocol/E-Bill/issues/167, because there are a lot of breaking changes, which are subtle to get right and it warrants it's own ticket.
Besides that, I was able to get rid of
async-std
andfutures-timer
, by implementing the respective things usingtokio
. I also removed some unused deps (envy
,dotenv
,void
andutoipa
), but leftthiserror
andanyhow
in, despite being unused, since we're going to be using those anyway, when we implement proper error-handling (or, if not, we can remove them then).Most of the code changes are due to
borsh
having breaking changes and I was able to remove theEither/Void
-type of death with the help of https://github.com/libp2p/rust-libp2p/discussions/2812. :v: