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

[venus-worker] use std channels instead of crossbeam-channel #615

Open
1 of 4 tasks
0x5459 opened this issue Feb 17, 2023 · 0 comments
Open
1 of 4 tasks

[venus-worker] use std channels instead of crossbeam-channel #615

0x5459 opened this issue Feb 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@0x5459
Copy link
Contributor

0x5459 commented Feb 17, 2023

模块 / Components

  • venus-sector-manager
  • venus-worker
  • 工具链 / toolchains
  • 文档 / docs

描述 / Description

crossbeam-channels 已经被合并到 (rust 1.67). rust-lang/rust#93563
std::sync::mpsc 现在已经使用 crossbeam-channels 的实现。

venus-worker 中使用 crossbeam-channels 作为 mpsc 的部分可以替换为 std 版本。 sync::mpmc 的在 rust 1.67 中任然是不稳定且是私有的。

@0x5459 0x5459 added the enhancement New feature or request label Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant