Skip to content

Public dependency on once_cell #575

@CosmicHorrorDev

Description

@CosmicHorrorDev

Now that there are things like OnceLock (since 1.70.0) and LazyLock(since 1.80.0) in the standard library it'd be nice to migrate off of once_cell. The one current issue with this is that it's a breaking change for this library due to syntect::parsing::SCOPE_REPO being a part of the public API while it's a once_cell::sync::Lazy. It'd be nice to change this in the next breaking release if possible (and I'd be willing to open a PR to handle it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions