Migrate lazy initialization from once_cell to std
What was changed
According to the official stable Rust 1.80.0 release. we now have LazyLock and LazyCell as part of the Standard Library(https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html). This PR upgrades all the once_cell::sync::Lazy to std::sync::LazyLock to ensure the code is current.
Why?
- Keep code up to date
[!WARNING] This should only be merged after upgrading to
Rust 1.80.0otherwise the merge will introduce a breaking change
Checklist
- How was this tested: Still compiles.
- Any docs updates needed: Don't think so.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
I already signed the CLA, but it's still showing missing CLA Please review.
Thank you for the suggestion! #351 took care of this along with other small changes.