Skip to content

chore(core): use stabilized LazyLock instead of once_cell::sync::Lazy#5252

Closed
koushiro wants to merge 3 commits intoapache:mainfrom
koushiro-contrib:replace-once-cell
Closed

chore(core): use stabilized LazyLock instead of once_cell::sync::Lazy#5252
koushiro wants to merge 3 commits intoapache:mainfrom
koushiro-contrib:replace-once-cell

Conversation

@koushiro
Copy link
Copy Markdown
Member

Which issue does this PR close?

No

Rationale for this change

What changes are included in this PR?

  • use stabilized std::sync::LazyLock instead of once_cell::sync::Lazy
  • remove once_cell dependency from opendal core

Are there any user-facing changes?

MSRV: 1.75 => 1.80

@github-actions github-actions bot added the releases-note/feat The PR implements a new feature or has a title that begins with "feat" label Oct 30, 2024
@koushiro koushiro changed the title feat(core): use stabilized LazyLock instead of once_cell::sync::Lazy chore(core): use stabilized LazyLock instead of once_cell::sync::Lazy Oct 30, 2024
@github-actions github-actions bot added the releases-note/chore The PR has a title that begins with "chore" or changes other small things that hard to tell label Oct 30, 2024
@Xuanwo
Copy link
Copy Markdown
Member

Xuanwo commented Oct 30, 2024

MSRV: 1.75 => 1.80

Hi, we might still have users who need MSRV 1.75. It's better to start a discussion before submitting this PR.

@koushiro
Copy link
Copy Markdown
Member Author

MSRV: 1.75 => 1.80

Hi, we might still have users who need MSRV 1.75. It's better to start a discussion before submitting this PR.

Alright, let's put this PR aside for now.

@Xuanwo
Copy link
Copy Markdown
Member

Xuanwo commented Oct 31, 2024

It's unlikely that we will update the MSRV to 1.80 soon. Would you like to convert this into an issue and submit a PR for it in the future when we are ready to increase the MSRV to 1.80?

@koushiro
Copy link
Copy Markdown
Member Author

I think we can close this PR for now and reopen it when MSRV is upgraded to 1.80

@koushiro koushiro closed this Oct 31, 2024
@koushiro koushiro deleted the replace-once-cell branch March 24, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/chore The PR has a title that begins with "chore" or changes other small things that hard to tell releases-note/feat The PR implements a new feature or has a title that begins with "feat"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants