Skip to content

Commit

Permalink
refactor(iroh-bytes)!: remove flume dependency (#2622)
Browse files Browse the repository at this point in the history
## Description

This is mostly a pretty mechanical replacement of flume with
async_channel in the rebd blob store.

One not so tiny change is that to support closing a read or write
transaction after some delay, and because async_channel does not have
recv_timeout, we switch the entire actor loop to run *async* but on a
dedicated thread of the main runtime.

That way we can use `tokio::select! {..., timeout}`

## Breaking Changes

FlumeProgressSender was removed

## Notes & open questions

## Change checklist

- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
  • Loading branch information
rklaehn authored Aug 14, 2024
1 parent 7890e07 commit aa58c1f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa58c1f

Please sign in to comment.