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:
parent
41180b8d81
commit
01b836a191
6 changed files with 29 additions and 24 deletions
|
@ -22,7 +22,6 @@ dirs.workspace = true
|
|||
futures.workspace = true
|
||||
git2 = { workspace = true, optional = true }
|
||||
globset.workspace = true
|
||||
lazy_static.workspace = true
|
||||
log.workspace = true
|
||||
rand.workspace = true
|
||||
regex.workspace = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue