Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Aug 30, 2022
1 parent 711d661 commit ce457a5
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 40 deletions.
78 changes: 42 additions & 36 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ atty = "0.2.11"
clap = { version = "3.2.5", features = ["derive"] }
console = { version = "0.15.0", default-features = false }
env_logger = "0.9"
indicatif = "0.16"
indicatif = "0.17"
log = "0.4"
shellwords = "1.0"
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use env_logger::Env;
use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle};
use std::io::{self, Write};
use std::process::{Command, Stdio};
use std::time::Duration;

mod errors;
use crate::errors::*;
Expand Down Expand Up @@ -75,9 +76,9 @@ impl Feedback for Verbose {
pb.set_style(ProgressStyle::default_bar()
.tick_chars(".oO° °Oo. ")
.template(" {spinner:.bold.green} [{elapsed_precise}] [{bar:40.cyan/blue}] {pos}/{len} ({eta})")
.unwrap()
.progress_chars("=>-"));
pb.enable_steady_tick(100);
pb.set_draw_delta(10_000);
pb.enable_steady_tick(Duration::from_millis(100));
Verbose(pb)
}

Expand Down
2 changes: 1 addition & 1 deletion src/tokens.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::errors::*;

#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub enum Token {
Chunk(String),
SwitchOpen,
Expand Down

0 comments on commit ce457a5

Please sign in to comment.