Skip to content

Commit

Permalink
bump: fyi_msg 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Dec 10, 2024
1 parent f728d1b commit d64eb36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion riprip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ oxford_join = "0.4.*"
utc2k = "0.11.*"

[dependencies.fyi_msg]
version = "1.3.*"
version = "1.4.*"
features = [ "progress" ]

[dependencies.riprip_core]
Expand Down
2 changes: 1 addition & 1 deletion riprip_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ trimothy = "0.6.*"
utc2k = "0.11.*"

[dependencies.fyi_msg]
version = "1.3.*"
version = "1.4.*"
features = [ "progress" ]

[dependencies.libcdio-sys]
Expand Down
4 changes: 2 additions & 2 deletions riprip_core/src/rip/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl<'a> Ripper<'a> {
{
state.replace(entry.track, &self.opts)?;
if entry.preverify(&state, &self.opts)? {
share.progress.push_msg(happy_track_msg(entry.track), true);
let _res = share.progress.push_msg(happy_track_msg(entry.track));
progress.increment_n(entry.sectors * u32::from(self.opts.passes()));
}
}
Expand Down Expand Up @@ -241,7 +241,7 @@ impl<'a> Ripper<'a> {
if entry.rip(&mut share, &mut state, &self.opts)? {
let skip = u32::from(self.opts.passes() - pass) * entry.sectors;
if skip != 0 { progress.increment_n(skip); }
share.progress.push_msg(happy_track_msg(entry.track), true);
let _res = share.progress.push_msg(happy_track_msg(entry.track));
}
}

Expand Down

0 comments on commit d64eb36

Please sign in to comment.