Skip to content

Drop usage of once_cell in favor of std #2216

@joshtriplett

Description

@joshtriplett

I think all the current uses of once_cell in gitoxide could be replaced by https://doc.rust-lang.org/std/cell/struct.LazyCell.html (stable since Rust 1.80), or by https://doc.rust-lang.org/std/cell/struct.OnceCell.html , or by https://doc.rust-lang.org/std/sync/struct.LazyLock.html if thread-safety is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acknowledgedan issue is accepted as shortcoming to be fixedblockedIssue can't progress due to external dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions