From be9cd3a09f4fb027786c634158ddeaca75a169f0 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Fri, 28 Oct 2022 14:43:18 -0700 Subject: 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`). --- examples/todos/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/todos/Cargo.toml') diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml index 2326ffc6..d9916057 100644 --- a/examples/todos/Cargo.toml +++ b/examples/todos/Cargo.toml @@ -7,9 +7,9 @@ publish = false [dependencies] iced = { path = "../..", features = ["async-std", "debug"] } +once_cell = "1.15.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -lazy_static = "1.4" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] async-std = "1.0" -- cgit