util: Replace lazy_static! with OnceLock (#13215)

This PR replaces the `lazy_static!` usages in the `util` crate with
`OnceLock` from the standard library.

This allows us to drop the `lazy_static` dependency from this crate.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-06-18 12:44:58 -04:00
committed by GitHub
parent 41180b8d81
commit 01b836a191
6 changed files with 29 additions and 24 deletions
Generated
-1
View File
@@ -11703,7 +11703,6 @@ dependencies = [
"futures-lite 1.13.0",
"git2",
"globset",
"lazy_static",
"log",
"rand 0.8.5",
"regex",