diff --git a/Cargo.lock b/Cargo.lock index fc011fa0..5c5be5e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2886,7 +2886,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if 1.0.0", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -4209,9 +4209,9 @@ dependencies = [ [[package]] name = "random_word" -version = "0.4.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07eed67a16dde2cc3c7f65c072acd8d5b2e53d4aab95067c320db851c7651f29" +checksum = "bcd87d2e3f99cc11e6c7fc518f09e63e194f7243b4cf30c979b0c524d04fbd90" dependencies = [ "ahash", "brotli", diff --git a/komorebi-bar/Cargo.toml b/komorebi-bar/Cargo.toml index 05b66423..539d6688 100644 --- a/komorebi-bar/Cargo.toml +++ b/komorebi-bar/Cargo.toml @@ -26,7 +26,7 @@ netdev = "0.32" num = "0.4" num-derive = "0.4" num-traits = "0.2" -random_word = { version = "0.4", features = ["en"] } +random_word = { version = "0.5", features = ["en"] } reqwest = { version = "0.12", features = ["blocking"] } schemars = { workspace = true, optional = true } serde = { workspace = true } diff --git a/komorebi-bar/src/main.rs b/komorebi-bar/src/main.rs index 2c30d59f..78de52f2 100644 --- a/komorebi-bar/src/main.rs +++ b/komorebi-bar/src/main.rs @@ -349,7 +349,7 @@ fn main() -> color_eyre::Result<()> { let ctx_komorebi = cc.egui_ctx.clone(); std::thread::spawn(move || { - let subscriber_name = format!("komorebi-bar-{}", random_word::gen(random_word::Lang::En)); + let subscriber_name = format!("komorebi-bar-{}", random_word::get(random_word::Lang::En)); let listener = komorebi_client::subscribe_with_options(&subscriber_name, SubscribeOptions { filter_state_changes: true, diff --git a/komorebi-gui/Cargo.toml b/komorebi-gui/Cargo.toml index 359d1c82..cebe0a61 100644 --- a/komorebi-gui/Cargo.toml +++ b/komorebi-gui/Cargo.toml @@ -10,7 +10,7 @@ komorebi-client = { path = "../komorebi-client" } eframe = { workspace = true } egui_extras = { workspace = true } -random_word = { version = "0.4", features = ["en"] } +random_word = { version = "0.5", features = ["en"] } serde_json = { workspace = true } windows-core = { workspace = true } windows = { workspace = true } \ No newline at end of file diff --git a/komorebi-gui/src/main.rs b/komorebi-gui/src/main.rs index 593d4b8f..9d37d3dd 100644 --- a/komorebi-gui/src/main.rs +++ b/komorebi-gui/src/main.rs @@ -101,7 +101,7 @@ impl From<&komorebi_client::Workspace> for WorkspaceConfig { let name = value .name() .to_owned() - .unwrap_or_else(|| random_word::gen(random_word::Lang::En).to_string()); + .unwrap_or_else(|| random_word::get(random_word::Lang::En).to_string()); Self { layout,