Skip to content

replace once_cell with std::sync::LazyLock#4

Merged
SF-Zhou merged 1 commit intomainfrom
dev
Apr 20, 2026
Merged

replace once_cell with std::sync::LazyLock#4
SF-Zhou merged 1 commit intomainfrom
dev

Conversation

@SF-Zhou
Copy link
Copy Markdown
Owner

@SF-Zhou SF-Zhou commented Apr 20, 2026

Summary

  • Remove once_cell dependency, replace with std::sync::LazyLock (stable since Rust 1.80)
  • Reduce external dependency count by one

Changes

  • src/cache.rs: replace once_cell::sync::Lazy with std::sync::LazyLock
  • Cargo.toml: remove once_cell = "1.19" dependency entry

@SF-Zhou SF-Zhou merged commit 16724ec into main Apr 20, 2026
1 check passed
@SF-Zhou SF-Zhou deleted the dev branch April 20, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant