Skip to content

Commit c32a2aa

Browse files
committed
bump xmodits_lib
1 parent 7bc9e88 commit c32a2aa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/B0ney/xmodits-cli"
1010

1111
[dependencies.xmodits-lib]
1212
git = "https://github.com/B0ney/xmodits-lib.git"
13-
rev = "c2ef080"
13+
rev = "6f4da08"
1414

1515
[dependencies]
1616
clap = { version = "4", features = ["derive", "cargo", "wrap_help"] }

src/api.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::path::{Path, PathBuf};
33

44
use xmodits_lib::info::Info;
55
use xmodits_lib::{
6-
export::{Format, Ripper, SampleNamer, SampleNamerTrait},
6+
export::{AudioFormat, Ripper, SampleNamer, SampleNamerTrait},
77
extract,
88
};
99

@@ -51,7 +51,7 @@ pub fn info(cli: Cli) {
5151
}
5252

5353
pub fn rip(cli: Cli, destination: PathBuf) {
54-
let ripper = Ripper::new(build_namer(&cli), get_format(&cli.format).into());
54+
let ripper = Ripper::new(build_namer(&cli), get_format(&cli.format));
5555
let filter = strict_loading(cli.strict);
5656

5757
let files: Vec<PathBuf> = cli
@@ -103,7 +103,7 @@ pub fn rip(cli: Cli, destination: PathBuf) {
103103
println!("Done!");
104104
}
105105

106-
fn get_format(format: &str) -> Format {
106+
fn get_format(format: &str) -> AudioFormat {
107107
format.parse().unwrap_or_default()
108108
}
109109

0 commit comments

Comments
 (0)