Replace lazy_static!
with OnceLock
in time_format
crate (#8648)
This PR replaces a `lazy_static!` usage in the `time_format` 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
0d0ce95eae
commit
7f5aa1fca6
3 changed files with 9 additions and 10 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -9436,7 +9436,6 @@ dependencies = [
|
|||
"anyhow",
|
||||
"core-foundation",
|
||||
"core-foundation-sys 0.8.6",
|
||||
"lazy_static",
|
||||
"sys-locale",
|
||||
"time",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue