Skip to content

Replace lazy_static with once_cell #3828

@jplatte

Description

@jplatte

Many other projects have switched from lazy_static to once_cell because it offers a macro-free solution to the same problem (with the only caveat being missing no_std support which I'm pretty sure is irrelevant for clap). Would you be open to a PR that does the same thing here?

In the future, the once_cell dependency can likely be removed in favor of the same functionality in std.

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