From 5b6bad2c5172fc9bf4e153c4eba5641bba71ec81 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 4 Dec 2019 20:40:32 -0800 Subject: [PATCH] downrev notify-rust dependency SOmething on the CI doesn't like it and it looks like a problem with that alpha version, so let's go back to their stable rev. --- Cargo.toml | 2 +- src/config/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2da056f3e..2ac90ffe0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ daemonize = "0.4" [target.'cfg(not(windows))'.dependencies] # show a notification -notify-rust = "4.0.0-alpha.2" +notify-rust = "3" # on linux, font-loader pulls in servo-font* crates which conflict with # our newer font related deps, so we avoid it on linux diff --git a/src/config/mod.rs b/src/config/mod.rs index e58979b3b..bcdabbecb 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -159,7 +159,7 @@ impl ConfigInner { .summary("Wezterm Configuration") .body(&format!("{}", err)) // Stay on the screen until dismissed - .hint(notify_rust::Hint::Resident(true)) + .hint(notify_rust::NotificationHint::Resident(true)) // timeout isn't respected on macos .timeout(0) .show()