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

breaking: directly depend on crossbeam-channel instead of pulling in all of crossbeam #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

m4rch3n1ng
Copy link
Contributor

Warning

this is a breaking change, since you have previously been re-exporting crossbeam.

termimad does not actually need most of the features of crossbeam, it only needs its channel. so you can save on a few unneeded dependencies if you just depend on the crossbeam-channel directly.

at this point it might be worth it to consider just using the std mpsc channel (or putting crossbeam behind a feature flag), as since rust 1.67 the std mpsc and the crossbeam channel are mostly the same performance wise and the extra functionality that crossbeam provides is, as far as i can tell, not used here.

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