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:
Marshall Bowers
2024-02-29 23:58:45 -05:00
committed by GitHub
parent 0d0ce95eae
commit 7f5aa1fca6
3 changed files with 9 additions and 10 deletions
Generated
-1
View File
@@ -9436,7 +9436,6 @@ dependencies = [
"anyhow",
"core-foundation",
"core-foundation-sys 0.8.6",
"lazy_static",
"sys-locale",
"time",
]