-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Replace use of crossbeam_channel with std::sync::mpsc #7153
Comments
This will be unblocked on January 26th, 2023. At that point, this should be straightforward to tackle. If you want to start on a PR before then, prepare it by swapping your compiler version to nightly. |
I think it should be beta, not nightly. |
Hi, I wanted to try this as a first issue but I think there might be a problem. As mentioned here
Since |
Ah the good ol' problem of |
So I bit off more than I can chew and gave this a try anyway, Can I open a pull request for what I've got so far? I've still got some compile errors that I can't figure out. Or should I just give up on trying to do this one? |
@OneFourth A draft PR would be super useful, even if you immediately close it :) Link this issue from there so others can see what you've got. |
As mentioned in #7346, this seems impossible or generally undesirable with the current stable interface of |
What problem does this solve or what need does it fill?
In Rust 1.67, a vendored implementation of
crossbeam_channel
will be used to backstd::sync::mpsc
. This was added in rust-lang/rust#93563.What solution would you like?
When 1.67 lands, use
std::sync::mpsc
instead ofcrossbeam_channel
in single-producer/single-consumer and multiple-producer/single-consumer use cases, after bumping the MSRV. Potentially shrink the dependency tree.What alternative(s) have you considered?
Continue using
crossbeam_channel
as is.The text was updated successfully, but these errors were encountered: