Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove futures-channel dependency in tests #12

Merged
merged 6 commits into from
May 18, 2022

Conversation

MattiasBuelens
Copy link
Owner

Follow-up on #11 (comment). Instead of using mpsc::unbounded() from futures, we use our own "simple" channel implementation that wraps a VecDeque for our tests. We don't really need all the complexity from mpsc, since we only have 1 producer and 1 consumer and we run everything within the same thread anyway.

@MattiasBuelens MattiasBuelens merged commit 3aa7d13 into master May 18, 2022
@MattiasBuelens MattiasBuelens deleted the remove-futures-channel branch May 18, 2022 21:01
@MattiasBuelens MattiasBuelens added this to the v0.2.3 milestone May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant