Skip to content

Commit 3381522

Browse files
committed
release: 0.2.11
2 parents 196beec + 6dae85a commit 3381522

20 files changed

+323
-163
lines changed

CREDITS.md

+73-31
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,80 @@
11
# Project Dependencies
22
Package: riprip
3-
Version: 0.2.10
4-
Generated: 2024-10-18 02:34:12 UTC
3+
Version: 0.2.11
4+
Target: x86_64-unknown-linux-gnu
5+
Generated: 2024-11-29 04:39:11 UTC
56

67
| Package | Version | Author(s) | License |
78
| ---- | ---- | ---- | ---- |
8-
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.11 | [Tom Kaitchuck](mailto:tom.kaitchuck@gmail.com) | Apache-2.0 or MIT |
9-
| [argyle](https://github.com/Blobfolio/argyle) | 0.10.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
10-
| [block-buffer](https://github.com/RustCrypto/utils) | 0.10.4 | RustCrypto Developers | Apache-2.0 or MIT |
11-
| [bytecount](https://github.com/llogiq/bytecount) | 0.6.8 | [Andre Bogus](mailto:bogusandre@gmail.de) and [Joshua Landau](mailto:joshua@landau.ws) | Apache-2.0 or MIT |
12-
| [cdtoc](https://github.com/Blobfolio/cdtoc) | 0.5.1 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
13-
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:alex@alexcrichton.com) | Apache-2.0 or MIT |
14-
| [crc32fast](https://github.com/srijs/rust-crc32fast) | 1.4.2 | [Sam Rijs](mailto:srijs@airpost.net) and [Alex Crichton](mailto:alex@alexcrichton.com) | Apache-2.0 or MIT |
15-
| [crypto-common](https://github.com/RustCrypto/traits) | 0.1.6 | RustCrypto Developers | Apache-2.0 or MIT |
16-
| [ctrlc](https://github.com/Detegr/rust-ctrlc.git) | 3.4.5 | [Antti Keränen](mailto:detegr@gmail.com) | Apache-2.0 or MIT |
17-
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.7.4 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
18-
| [digest](https://github.com/RustCrypto/traits) | 0.10.7 | RustCrypto Developers | Apache-2.0 or MIT |
9+
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.11 | [Tom Kaitchuck](mailto:tom.kaitchuck@gmail.com) | MIT OR Apache-2.0 |
10+
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.10.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
11+
| [bindgen](https://github.com/rust-lang/rust-bindgen) ⚒️ | 0.69.5 | [Jyun-Yan You](mailto:jyyou.tw@gmail.com), [Emilio Cobos Álvarez](mailto:emilio@crisal.io), [Nick Fitzgerald](mailto:fitzgen@gmail.com), and The Servo project developers | BSD-3-Clause |
12+
| [bitflags](https://github.com/bitflags/bitflags) | 2.6.0 | The Rust Project Developers | MIT OR Apache-2.0 |
13+
| [block-buffer](https://github.com/RustCrypto/utils) | 0.10.4 | RustCrypto Developers | MIT OR Apache-2.0 |
14+
| [bytecount](https://github.com/llogiq/bytecount) | 0.6.8 | [Andre Bogus](mailto:bogusandre@gmail.de) and [Joshua Landau](mailto:joshua@landau.ws) | Apache-2.0 OR MIT |
15+
| [byteorder](https://github.com/BurntSushi/byteorder) | 1.5.0 | [Andrew Gallant](mailto:jamslam@gmail.com) | Unlicense OR MIT |
16+
| [**cdtoc**](https://github.com/Blobfolio/cdtoc) | 0.5.3 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
17+
| [cexpr](https://github.com/jethrogb/rust-cexpr) ⚒️ | 0.6.0 | [Jethro Beekman](mailto:jethro@jbeekman.nl) | Apache-2.0 OR MIT |
18+
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
19+
| [cfg_aliases](https://github.com/katharostech/cfg_aliases) ⚒️ | 0.2.1 | [Zicklag](mailto:zicklag@katharostech.com) | MIT |
20+
| [clang-sys](https://github.com/KyleMayes/clang-sys) ⚒️ | 1.8.1 | [Kyle Mayes](mailto:kyle@mayeses.com) | Apache-2.0 |
21+
| [cpufeatures](https://github.com/RustCrypto/utils) | 0.2.16 | RustCrypto Developers | MIT OR Apache-2.0 |
22+
| [**crc32fast**](https://github.com/srijs/rust-crc32fast) | 1.4.2 | [Sam Rijs](mailto:srijs@airpost.net) and [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
23+
| [crypto-common](https://github.com/RustCrypto/traits) | 0.1.6 | RustCrypto Developers | MIT OR Apache-2.0 |
24+
| [**ctrlc**](https://github.com/Detegr/rust-ctrlc.git) | 3.4.5 | [Antti Keränen](mailto:detegr@gmail.com) | MIT OR Apache-2.0 |
25+
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.8.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
26+
| [digest](https://github.com/RustCrypto/traits) | 0.10.7 | RustCrypto Developers | MIT OR Apache-2.0 |
27+
| [either](https://github.com/rayon-rs/either) ⚒️ | 1.13.0 | bluss | MIT OR Apache-2.0 |
1928
| [faster-hex](https://github.com/NervosFoundation/faster-hex) | 0.10.0 | [zhangsoledad](mailto:787953403@qq.com) | MIT |
20-
| [fastrand](https://github.com/smol-rs/fastrand) | 2.1.1 | [Stjepan Glavina](mailto:stjepang@gmail.com) | Apache-2.0 or MIT |
21-
| [fyi_msg](https://github.com/Blobfolio/fyi) | 1.1.1 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
29+
| [fastrand](https://github.com/smol-rs/fastrand) | 2.2.0 | [Stjepan Glavina](mailto:stjepang@gmail.com) | Apache-2.0 OR MIT |
30+
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 1.3.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
2231
| [generic-array](https://github.com/fizyk20/generic-array.git) | 0.14.7 | [Bartłomiej Kamiński](mailto:fizyk20@gmail.com) and [Aaron Trent](mailto:novacrazy@gmail.com) | MIT |
23-
| [itoa](https://github.com/dtolnay/itoa) | 1.0.11 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
24-
| [libcdio-sys](https://github.com/MonterraByte/libcdio-sys) | 0.5.1 | [Joaquim Monteiro](mailto:joaquim.monteiro@protonmail.com) | GPL-3.0+ |
25-
| [log](https://github.com/rust-lang/log) | 0.4.22 | The Rust Project Developers | Apache-2.0 or MIT |
26-
| [minreq](https://github.com/neonmoe/minreq) | 2.12.0 | [Jens Pitkanen](mailto:jens@neon.moe) | ISC |
27-
| [once_cell](https://github.com/matklad/once_cell) | 1.20.2 | [Aleksey Kladov](mailto:aleksey.kladov@gmail.com) | Apache-2.0 or MIT |
28-
| [oxford_join](https://github.com/Blobfolio/oxford_join) | 0.4.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
29-
| [riprip_core](https://github.com/Blobfolio/riprip) | 0.2.10 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
30-
| [serde](https://github.com/serde-rs/serde) | 1.0.210 | [Erick Tryzelaar](mailto:erick.tryzelaar@gmail.com) and [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
31-
| [sha1](https://github.com/RustCrypto/hashes) | 0.10.6 | RustCrypto Developers | Apache-2.0 or MIT |
32-
| [tempfile](https://github.com/Stebalien/tempfile) | 3.13.0 | [Steven Allen](mailto:steven@stebalien.com), The Rust Project Developers, [Ashley Mannix](mailto:ashleymannix@live.com.au), and [Jason White](mailto:me@jasonwhite.io) | Apache-2.0 or MIT |
33-
| [terminal_size](https://github.com/eminence/terminal-size) | 0.4.0 | [Andrew Chin](mailto:achin@eminence32.net) | Apache-2.0 or MIT |
34-
| [trimothy](https://github.com/Blobfolio/trimothy) | 0.3.1 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
35-
| [typenum](https://github.com/paholg/typenum) | 1.17.0 | [Paho Lurie-Gregg](mailto:paho@paholg.com) and [Andre Bogus](mailto:bogusandre@gmail.com) | Apache-2.0 or MIT |
36-
| [unicode-width](https://github.com/unicode-rs/unicode-width) | 0.2.0 | [kwantam](mailto:kwantam@gmail.com) and [Manish Goregaokar](mailto:manishsmail@gmail.com) | Apache-2.0 or MIT |
37-
| [utc2k](https://github.com/Blobfolio/utc2k) | 0.10.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
38-
| [zerocopy](https://github.com/google/zerocopy) | 0.7.35 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) | Apache-2.0, BSD-2-Clause, or MIT |
32+
| [glob](https://github.com/rust-lang/glob) ⚒️ | 0.3.1 | The Rust Project Developers | MIT OR Apache-2.0 |
33+
| [hash32](https://github.com/japaric/hash32) | 0.3.1 | [Jorge Aparicio](mailto:jorge@japaric.io) | MIT OR Apache-2.0 |
34+
| [heapless](https://github.com/rust-embedded/heapless) | 0.8.0 | [Jorge Aparicio](mailto:jorge@japaric.io), [Per Lindgren](mailto:per.lindgren@ltu.se), and [Emil Fresk](mailto:emil.fresk@gmail.com) | MIT OR Apache-2.0 |
35+
| [home](https://github.com/rust-lang/cargo) ⚒️ | 0.5.9 | [Brian Anderson](mailto:andersrb@gmail.com) | MIT OR Apache-2.0 |
36+
| [itertools](https://github.com/rust-itertools/itertools) ⚒️ | 0.12.1 | bluss | MIT OR Apache-2.0 |
37+
| [itoa](https://github.com/dtolnay/itoa) | 1.0.14 | [David Tolnay](mailto:dtolnay@gmail.com) | MIT OR Apache-2.0 |
38+
| [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) ⚒️ | 1.5.0 | [Marvin Löbel](mailto:loebel.marvin@gmail.com) | MIT OR Apache-2.0 |
39+
| [lazycell](https://github.com/indiv0/lazycell) ⚒️ | 1.3.0 | [Alex Crichton](mailto:alex@alexcrichton.com) and [Nikita Pekin](mailto:contact@nikitapek.in) | MIT OR Apache-2.0 |
40+
| [libc](https://github.com/rust-lang/libc) | 0.2.166 | The Rust Project Developers | MIT OR Apache-2.0 |
41+
| [**libcdio-sys**](https://github.com/MonterraByte/libcdio-sys) | 0.5.1 | [Joaquim Monteiro](mailto:joaquim.monteiro@protonmail.com) | GPL-3.0+ |
42+
| [libloading](https://github.com/nagisa/rust_libloading/) ⚒️ | 0.8.5 | [Simonas Kazlauskas](mailto:libloading@kazlauskas.me) | ISC |
43+
| [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | 0.4.14 | [Dan Gohman](mailto:dev@sunfishcode.online) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
44+
| [log](https://github.com/rust-lang/log) | 0.4.22 | The Rust Project Developers | MIT OR Apache-2.0 |
45+
| [memchr](https://github.com/BurntSushi/memchr) ⚒️ | 2.7.4 | [Andrew Gallant](mailto:jamslam@gmail.com) and bluss | Unlicense OR MIT |
46+
| [minimal-lexical](https://github.com/Alexhuszagh/minimal-lexical) ⚒️ | 0.2.1 | [Alex Huszagh](mailto:ahuszagh@gmail.com) | MIT OR Apache-2.0 |
47+
| [**minreq**](https://github.com/neonmoe/minreq) | 2.12.0 | [Jens Pitkanen](mailto:jens@neon.moe) | ISC |
48+
| [nix](https://github.com/nix-rust/nix) | 0.29.0 | The nix-rust Project Developers | MIT |
49+
| [nom](https://github.com/Geal/nom) ⚒️ | 7.1.3 | contact@geoffroycouprie.com | MIT |
50+
| [once_cell](https://github.com/matklad/once_cell) | 1.20.2 | [Aleksey Kladov](mailto:aleksey.kladov@gmail.com) | MIT OR Apache-2.0 |
51+
| [**oxford_join**](https://github.com/Blobfolio/oxford_join) | 0.4.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
52+
| [prettyplease](https://github.com/dtolnay/prettyplease) ⚒️ | 0.2.25 | [David Tolnay](mailto:dtolnay@gmail.com) | MIT OR Apache-2.0 |
53+
| [proc-macro2](https://github.com/dtolnay/proc-macro2) ⚒️ | 1.0.92 | [David Tolnay](mailto:dtolnay@gmail.com) and [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
54+
| [quote](https://github.com/dtolnay/quote) ⚒️ | 1.0.37 | [David Tolnay](mailto:dtolnay@gmail.com) | MIT OR Apache-2.0 |
55+
| [regex](https://github.com/rust-lang/regex) ⚒️ | 1.11.1 | The Rust Project Developers and [Andrew Gallant](mailto:jamslam@gmail.com) | MIT OR Apache-2.0 |
56+
| [regex-automata](https://github.com/rust-lang/regex/tree/master/regex-automata) ⚒️ | 0.4.9 | The Rust Project Developers and [Andrew Gallant](mailto:jamslam@gmail.com) | MIT OR Apache-2.0 |
57+
| [regex-syntax](https://github.com/rust-lang/regex/tree/master/regex-syntax) ⚒️ | 0.8.5 | The Rust Project Developers and [Andrew Gallant](mailto:jamslam@gmail.com) | MIT OR Apache-2.0 |
58+
| [**riprip_core**](https://github.com/Blobfolio/riprip) | 0.2.11 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
59+
| [rustc-hash](https://github.com/rust-lang-nursery/rustc-hash) ⚒️ | 1.1.0 | The Rust Project Developers | Apache-2.0 OR MIT |
60+
| [rustix](https://github.com/bytecodealliance/rustix) | 0.38.41 | [Dan Gohman](mailto:dev@sunfishcode.online) and [Jakub Konka](mailto:kubkon@jakubkonka.com) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
61+
| [sha1](https://github.com/RustCrypto/hashes) | 0.10.6 | RustCrypto Developers | MIT OR Apache-2.0 |
62+
| [shlex](https://github.com/comex/rust-shlex) ⚒️ | 1.3.0 | [comex](mailto:comexk@gmail.com), [Fenhl](mailto:fenhl@fenhl.net), [Adrian Taylor](mailto:adetaylor@chromium.org), [Alex Touchet](mailto:alextouchet@outlook.com), [Daniel Parks](mailto:dp+git@oxidized.org), and [Garrett Berg](mailto:googberg@gmail.com) | MIT OR Apache-2.0 |
63+
| [stable_deref_trait](https://github.com/storyyeller/stable_deref_trait) | 1.2.0 | [Robert Grosse](mailto:n210241048576@gmail.com) | MIT OR Apache-2.0 |
64+
| [syn](https://github.com/dtolnay/syn) ⚒️ | 2.0.89 | [David Tolnay](mailto:dtolnay@gmail.com) | MIT OR Apache-2.0 |
65+
| [**tempfile**](https://github.com/Stebalien/tempfile) | 3.14.0 | [Steven Allen](mailto:steven@stebalien.com), The Rust Project Developers, [Ashley Mannix](mailto:ashleymannix@live.com.au), and [Jason White](mailto:me@jasonwhite.io) | MIT OR Apache-2.0 |
66+
| [terminal_size](https://github.com/eminence/terminal-size) | 0.4.0 | [Andrew Chin](mailto:achin@eminence32.net) | MIT OR Apache-2.0 |
67+
| [**trimothy**](https://github.com/Blobfolio/trimothy) | 0.6.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
68+
| [typenum](https://github.com/paholg/typenum) | 1.17.0 | [Paho Lurie-Gregg](mailto:paho@paholg.com) and [Andre Bogus](mailto:bogusandre@gmail.com) | MIT OR Apache-2.0 |
69+
| [unicode-ident](https://github.com/dtolnay/unicode-ident) ⚒️ | 1.0.14 | [David Tolnay](mailto:dtolnay@gmail.com) | (MIT OR Apache-2.0) AND Unicode-3.0 |
70+
| [unicode-width](https://github.com/unicode-rs/unicode-width) | 0.2.0 | [kwantam](mailto:kwantam@gmail.com) and [Manish Goregaokar](mailto:manishsmail@gmail.com) | MIT OR Apache-2.0 |
71+
| [**utc2k**](https://github.com/Blobfolio/utc2k) | 0.11.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
72+
| [version_check](https://github.com/SergioBenitez/version_check) ⚒️ | 0.9.5 | [Sergio Benitez](mailto:sb@sergio.bz) | MIT OR Apache-2.0 |
73+
| [which](https://github.com/harryfei/which-rs.git) ⚒️ | 4.4.2 | [Harry Fei](mailto:tiziyuanfang@gmail.com) | MIT |
74+
| [zerocopy](https://github.com/google/zerocopy) | 0.7.35 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) | BSD-2-Clause OR Apache-2.0 OR MIT |
75+
76+
### Legend
77+
78+
* **Direct Dependency**
79+
* Child Dependency
80+
* ⚒️ Build-Only

README.md

-24
Original file line numberDiff line numberDiff line change
@@ -181,27 +181,3 @@ sudo apt-get install libcdio-dev
181181
cd riprip
182182
cargo build --release
183183
```
184-
185-
186-
187-
## License
188-
189-
See also: [CREDITS.md](CREDITS.md)
190-
191-
Copyright © 2024 [Blobfolio, LLC](https://blobfolio.com) <hello@blobfolio.com>
192-
193-
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2.
194-
195-
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
196-
Version 2, December 2004
197-
198-
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
199-
200-
Everyone is permitted to copy and distribute verbatim or modified
201-
copies of this license document, and changing it is allowed as long
202-
as the name is changed.
203-
204-
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
205-
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
206-
207-
0. You just DO WHAT THE FUCK YOU WANT TO.

justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export RUSTFLAGS := "-C target-cpu=x86-64-v3"
7878

7979
# Generate CREDITS.
8080
@credits:
81-
cargo bashman -m "{{ pkg_dir1 }}/Cargo.toml"
81+
cargo bashman -m "{{ pkg_dir1 }}/Cargo.toml" -t x86_64-unknown-linux-gnu
8282
just _fix-chown "{{ justfile_directory() }}/CREDITS.md"
8383

8484

release/man/riprip.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH "RIP RIP HOORAY!" "1" "October 2024" "riprip v0.2.10" "User Commands"
1+
.TH "RIP RIP HOORAY!" "1" "November 2024" "riprip v0.2.11" "User Commands"
22
.SH NAME
3-
RIP RIP HOORAY! \- Manual page for riprip v0.2.10.
3+
RIP RIP HOORAY! \- Manual page for riprip v0.2.11.
44
.SH DESCRIPTION
55
A specialized audio CD\-ripper optimized for incremental data recovery.
66
.SS USAGE:

riprip/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "riprip"
3-
version = "0.2.10"
3+
version = "0.2.11"
44
license = "WTFPL"
55
authors = ["Josh Stoik <josh@blobfolio.com>"]
66
edition = "2021"
@@ -10,7 +10,7 @@ readme = "README.md"
1010
publish = false
1111

1212
[package.metadata.deb]
13-
maintainer = "Josh Stoik <hello@blobfolio.com>"
13+
maintainer = "Josh Stoik <josh@blobfolio.com>"
1414
copyright = "2024, Blobfolio, LLC <hello@blobfolio.com>"
1515
license-file = ["../LICENSE", "0"]
1616
revision = "1"
@@ -131,12 +131,12 @@ argyle = "0.10.*"
131131
[dependencies]
132132
argyle = "0.10.*"
133133
ctrlc = "=3.4.5"
134-
dactyl = "0.7.*"
134+
dactyl = "0.8.*"
135135
oxford_join = "0.4.*"
136-
utc2k = "0.10.*"
136+
utc2k = "0.11.*"
137137

138138
[dependencies.fyi_msg]
139-
version = "1.1.*"
139+
version = "1.3.*"
140140
features = [ "progress" ]
141141

142142
[dependencies.riprip_core]

riprip/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ use std::path::PathBuf;
99

1010
/// # Set Up CLI Arguments.
1111
pub fn main() {
12+
println!("cargo:rerun-if-env-changed=CARGO_PKG_VERSION");
13+
1214
let mut builder = KeyWordsBuilder::default();
1315
builder.push_keys([
1416
"--backward", "--backwards",

riprip/src/cli.rs

+2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ fn parse_rip_option_reread(v: &[u8]) -> Result<(u8, u8), RipRipError> {
142142
// If there's a comma, there could be up to two values. Keep the
143143
// default if either is omitted.
144144
let v = v.trim_ascii();
145+
// TODO: use split_once once stable.
145146
if let Some(pos) = v.iter().position(|b| b','.eq(b)) {
146147
let tmp = &v[..pos];
147148
if ! tmp.is_empty() {
@@ -168,6 +169,7 @@ fn parse_rip_option_tracks(disc: &Disc, mut opts: RipOptions, tracks: &str)
168169
if v.is_empty() { continue; }
169170

170171
// It might be a range.
172+
// TODO: use split_once once stable.
171173
if let Some(pos) = v.iter().position(|b| b'-'.eq(b)) {
172174
// Split.
173175
let a = v[..pos].trim_ascii();

riprip/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const DIVIDER: &str = "------------------------";
9999
///
100100
/// This lets us bubble up startup errors so they can be pretty-printed.
101101
fn main() {
102-
match _main() {
102+
match main__() {
103103
Ok(()) => {},
104104
Err(e @ (RipRipError::PrintHelp | RipRipError::PrintVersion)) => {
105105
println!("{e}");
@@ -115,7 +115,7 @@ fn main() {
115115
/// # Actual Main.
116116
///
117117
/// This does all the stuff.
118-
fn _main() -> Result<(), RipRipError> {
118+
fn main__() -> Result<(), RipRipError> {
119119
let (
120120
opts,
121121
disc,

riprip_core/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "riprip_core"
3-
version = "0.2.10"
3+
version = "0.2.11"
44
license = "WTFPL"
55
authors = ["Josh Stoik <josh@blobfolio.com>"]
66
edition = "2021"
@@ -12,14 +12,14 @@ publish = false
1212
[dependencies]
1313
cdtoc = "0.5.*"
1414
crc32fast = "=1.4.2"
15-
dactyl = "0.7.*"
15+
dactyl = "0.8.*"
1616
oxford_join = "0.4.*"
1717
tempfile = "3.8.0"
18-
trimothy = "0.3.*"
19-
utc2k = "0.10.*"
18+
trimothy = "0.6.*"
19+
utc2k = "0.11.*"
2020

2121
[dependencies.fyi_msg]
22-
version = "1.1.*"
22+
version = "1.3.*"
2323
features = [ "progress" ]
2424

2525
[dependencies.libcdio-sys]
@@ -34,7 +34,7 @@ default-features = false
3434
# reason so we don't need any minreq features at all!
3535

3636
[build-dependencies]
37-
dactyl = "0.7.*"
37+
dactyl = "0.8.*"
3838
oxford_join = "0.4.*"
3939

4040
[build-dependencies.cdtoc]

riprip_core/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn nice_offsets(parsed: BTreeMap<VendorModel, i16>) -> String {
152152
format!(
153153
r#"
154154
/// # Drive Offsets.
155-
const DRIVE_OFFSETS: [(DriveVendorModel, ReadOffset); {}] = [
155+
static DRIVE_OFFSETS: [(DriveVendorModel, ReadOffset); {}] = [
156156
{},
157157
];
158158
"#,

riprip_core/src/barcode.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ impl TryFrom<&[u8]> for Barcode {
4949
type Error = RipRipError;
5050
fn try_from(mut src: &[u8]) -> Result<Self, Self::Error> {
5151
// Remove whitespace, leading *ASCII* zeroes, and trailing nulls.
52-
src = src.trim_start_matches(|b| b.is_ascii_whitespace() || b == b'0');
53-
src = src.trim_end_matches(|b| b.is_ascii_whitespace() || b == 0);
52+
src = src.trim_start_matches(|b: u8| b.is_ascii_whitespace() || b == b'0');
53+
src = src.trim_end_matches(|b: u8| b.is_ascii_whitespace() || b == 0);
5454

5555
// Make sure we've got 8-13 ASCII digits and nothing else.
5656
if ! (8..=13).contains(&src.len()) || ! src.iter().all(u8::is_ascii_digit) {

0 commit comments

Comments
 (0)