From b5cec36dbef7e6b1e3073231147652080227ac40 Mon Sep 17 00:00:00 2001 From: Oleksiy Slyshyk Date: Mon, 14 Aug 2023 09:55:33 +0300 Subject: [PATCH] update deps --- Cargo.toml | 12 ++++++------ src/lib.rs | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 69296ad..b3e8c89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,10 @@ path = "src/main.rs" serde = { version = "1.0", features = ["derive"] } reqwest = { version = "0.11", features = ["json", "blocking"] } thiserror = "1.0" -directories = "5.0.0" +directories = "5.0.1" rand = "0.8.5" -orion = "0.17.4" -anyhow = "1.0.70" -whoami = "1.4.0" -spinoff = "0.7.0" -regex = "1.7.3" +orion = "0.17.5" +anyhow = "1.0.72" +whoami = "1.4.1" +spinoff = "0.8.0" +regex = "1.9.3" diff --git a/src/lib.rs b/src/lib.rs index d297c8d..d2dc954 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,7 @@ const LOADING_MESSAGES: [&'static str; 7] = [ pub fn run(cli_args: &CliArgs, config: &Config) -> anyhow::Result { if !cli_args.raw { - let spinner = Spinner::new(spinners::Dots, get_loading_message(), Color::Blue); + let mut spinner = Spinner::new(spinners::Dots, get_loading_message(), Color::Blue); let response = openai::ask_chatgpt( cli_args.input.as_str(), cli_args.pre_prompt,