Skip to content

Commit

Permalink
chore: remove once_cell deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Jul 29, 2024
1 parent a05e0b1 commit c68e6a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion iced_examples/iced_launcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ iced_layershell.workspace = true
gio = "0.19.2"
regex = "1.10.3"
xdg = "2.5.2"
once_cell = "1.19.0"
tracing = "0.1.40"
6 changes: 3 additions & 3 deletions iced_examples/iced_launcher/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ use iced_layershell::Application;
use iced_runtime::command::Action;
use iced_runtime::window::Action as WindowAction;

use once_cell::sync::Lazy;
use std::sync::LazyLock;

static SCROLLABLE_ID: Lazy<scrollable::Id> = Lazy::new(scrollable::Id::unique);
static INPUT_ID: Lazy<text_input::Id> = Lazy::new(text_input::Id::unique);
static SCROLLABLE_ID: LazyLock<scrollable::Id> = LazyLock::new(scrollable::Id::unique);
static INPUT_ID: LazyLock<text_input::Id> = LazyLock::new(text_input::Id::unique);

fn main() -> Result<(), iced_layershell::Error> {
Launcher::run(Settings {
Expand Down

0 comments on commit c68e6a1

Please sign in to comment.