Skip to content

Consider using std::sync instead of parking_lot #438

Closed
@matklad

Description

@matklad

paperclip today uses parking_lot. parking_lot provides faster, smaller mutexes, at the cost of adding a somewhat churn-prone dependency. It's not uncommon for downstream projects to end up with a couple of different versions of parking_lot in the Cargo.lock.

Naively, I would assume that mutext perfomance should not matter for the thing that paperclip is doing, and that sticking with std mutexes would make more sense, especially in the light of rust-lang/rust#95035.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions