Use once_cell instead of lazy_static
This seems to be generally considered the preferred, idiomatic solution now. This is in the standard library behind a feature flag (apparently now called `std::sync::LazyLock`).
This commit is contained in:
parent
82217947aa
commit
be9cd3a09f
6 changed files with 13 additions and 17 deletions
|
|
@ -18,5 +18,5 @@ features = ["palette"]
|
|||
[dependencies.palette]
|
||||
version = "0.6"
|
||||
|
||||
[dependencies.lazy_static]
|
||||
version = "1.4"
|
||||
[dependencies.once_cell]
|
||||
version = "1.15"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue