notify icon indicating copy to clipboard operation
notify copied to clipboard

Use std channels insteam of crossbeam-channel

Open GamePad64 opened this issue 2 years ago • 3 comments

crossbeam-channels is merged into std. https://github.com/rust-lang/rust/pull/93563 std::sync::mpsc is now implemented using crossbeam-channels primitives.

IMO, crossbeam-channels can be easily removed right now and replaced by std::sync.

GamePad64 avatar Dec 04 '22 19:12 GamePad64

That's not msrv 1.56 compatible though, from which version on is this stabilized? A major feature for using crossbeam is having MPMC available.

0xpr03 avatar Dec 04 '22 19:12 0xpr03

It is not in stable yet, but it is merged into 1.67, according to https://releases.rs/docs/unreleased/1.67.0/

GamePad64 avatar Dec 05 '22 07:12 GamePad64

The mpmc part is not being stabilized in 1.67 though, for now they're just keeping it as a private module and rewriting std::sync::mpsc to use it internally.

netthier avatar Jan 25 '23 21:01 netthier