Skip to content

Enable multi-threaded formatting for cargo fmt --all to speed up large projects #6597

@eval-exec

Description

@eval-exec

Problem

It seems that cargo fmt --all only use 1 core, if the cargo project has many .rs file, cargo fmt --all is slow, may take several seconds or minutes. I think we should refactor cargo fmt --all to use multi-threads.

Proposed Solution

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions