Skip to content

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

Open
@0x5459

Description

@0x5459

模块 / 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 中任然是不稳定且是私有的。

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions