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
|
|
@ -9,7 +9,7 @@ publish = false
|
|||
iced = { path = "../..", features = ["tokio", "debug"] }
|
||||
iced_native = { path = "../../native" }
|
||||
iced_futures = { path = "../../futures" }
|
||||
lazy_static = "1.4"
|
||||
once_cell = "1.15.0"
|
||||
|
||||
[dependencies.async-tungstenite]
|
||||
version = "0.16"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue