Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lazy_static from dependencies #847

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Conversation

qsantos
Copy link
Contributor

@qsantos qsantos commented Dec 9, 2024

Description

lazy_static can now be replaced by std::sync::LazyLock, which is available since 1.80.

Type of change

Remove obsolete dependency.

Checklist:

  • I ran bellow commands using the latest version of rust nightly.
  • I ran cargo clippy --all -- -D warnings just before my last commit and fixed any issue that was found.
  • I ran cargo fmt just before my last commit.
  • I ran cargo test just before my last commit and all tests passed.
  • I checked COUNTRIBUTING.md and my code follows its guidelines.

@qsantos qsantos requested review from imp2002 and vil02 as code owners December 9, 2024 18:48
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.47%. Comparing base (f66f836) to head (76b6368).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #847      +/-   ##
==========================================
+ Coverage   95.44%   95.47%   +0.03%     
==========================================
  Files         316      316              
  Lines       22750    22932     +182     
==========================================
+ Hits        21713    21895     +182     
  Misses       1037     1037              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vil02 vil02 merged commit 7903120 into TheAlgorithms:master Dec 10, 2024
4 checks passed
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.

3 participants