Skip to content

Commit

Permalink
chose(deps): upgraded notify, indicatif, and wasm-bindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Jul 19, 2024
1 parent 7466ea3 commit 06baa50
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/perseus-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ include_dir = "0.7"
thiserror = "1"
fmterr = "0.1"
cargo_toml = "0.15"
indicatif = "=0.17.0-beta.1" # Not stable, but otherwise error handling is just about impossible
indicatif = "0.17"
console = "0.15"
serde = "1"
serde_json = "1"
Expand All @@ -42,7 +42,7 @@ tokio = { version = "1", features = [ "macros", "rt-multi-thread", "sync" ] }
warp = "0.3"
command-group = "2"
ctrlc = { version = "3.2", features = ["termination"] }
notify = "=5.0.0-pre.13"
notify = "6"
futures = "0.3"
tokio-stream = "0.1"
reqwest = { version = "0.11", features = [ "json", "stream" ] }
Expand Down
3 changes: 2 additions & 1 deletion packages/perseus-cli/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use indicatif::{ProgressBar, ProgressStyle};
use std::io::Write;
use std::path::Path;
use std::process::{Command, Stdio};
use std::time::Duration;

// Some useful emojis
pub static SUCCESS: Emoji<'_, '_> = Emoji("✅", "success!");
Expand Down Expand Up @@ -72,7 +73,7 @@ pub fn cfg_spinner(spinner: ProgressBar, message: &str) -> ProgressBar {
spinner.set_style(ProgressStyle::default_spinner().tick_chars("⠁⠂⠄⡀⢀⠠⠐⠈ "));
spinner.set_message(format!("{}...", &message));
// Tick the spinner every 50 milliseconds
spinner.enable_steady_tick(50);
spinner.enable_steady_tick(Duration::from_millis(50));

spinner
}
Expand Down
2 changes: 1 addition & 1 deletion website/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ serde_json = "1"
lazy_static = "1"
# To avoid insane target-gating on event handlers, we put this everywhere for convenience
web-sys = { version = "0.3", features = [ "Event", "EventTarget", "Element", "Window", "Document", "DomRect", "HtmlCollection", "IntersectionObserver", "IntersectionObserverInit", "IntersectionObserverEntry", "KeyboardEvent" ] }
wasm-bindgen = "0.2.84"
wasm-bindgen = "0.2.92"

[target.'cfg(engine)'.dependencies]
tokio = { version = "1", features = [ "macros", "rt", "rt-multi-thread" ] }
Expand Down

0 comments on commit 06baa50

Please sign in to comment.