Skip to content

Commit 3a15cf6

Browse files
authored
refactor(iroh-net): replace flume in iroh-net with async_channel (#2539)
## Description refactor(iroh-net): replace flume in iroh-net with async_channel Rationale: see n0-computer/iroh#2536 This is the first in a series of PRs that will replace flume with async_channel. In this case it is very close to a drop in replacement without any need for changes. Only noteable changes: send_async becomes send send becomes send_blocking Receiver implements Stream, so no need for .into_stream() Receiver is not Unpin, so to make it unpin you need to do `Box::pin(recv)` or use `.boxed()` ## Breaking Changes None ## Notes & open questions - Anything specific from flume we were relying on here? ## Change checklist - [x] Self-review. - [x] ~~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.~~ - [x] ~~Tests if relevant.~~ - [x] ~~All breaking changes documented.~~
1 parent d902359 commit 3a15cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)