Skip to content

Replace lazy_static with OnceCell #101

@gakonst

Description

@gakonst

Once_cell

For about a year now the Rust constant-evaluation pipeline has been robust enough that lazy_static is entirely replaceable by the once_cell crate, which provides a macro-free way of doing what lazy_static once did.

rust-lang-nursery/lazy-static.rs#111
rust-lang/rfcs#2788

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