Skip to content

Commit

Permalink
bump xmodits-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney committed Aug 18, 2024
1 parent 6cacebb commit 64c1ab7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "xmodits"
authors = ["B0ney - https://github.com/B0ney"]
description = "XMODITS command line application"
version = "0.11.3"
version = "0.11.4"
edition = "2021"
license = "LGPLv3"
repository = "https://github.com/B0ney/xmodits-cli"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies.xmodits-lib]
git = "https://github.com/B0ney/xmodits-lib.git"
rev = "ce5d922"
rev = "1773dfb"

[dependencies]
clap = { version = "4", features = ["derive", "cargo", "wrap_help"] }
Expand Down
8 changes: 4 additions & 4 deletions src/api.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use crate::Cli;
use std::path::{Path, PathBuf};

use xmodits_lib::common::info::Info;
use xmodits_lib::info::Info;
use xmodits_lib::{
common::extract, exporter::AudioFormat, interface::ripper::Ripper, SampleNamer,
SampleNamerTrait,
export::{Format, Ripper, SampleNamer, SampleNamerTrait},
extract,
};

pub fn build_namer(cli: &Cli) -> Box<dyn SampleNamerTrait> {
Expand Down Expand Up @@ -103,7 +103,7 @@ pub fn rip(cli: Cli, destination: PathBuf) {
println!("Done!");
}

fn get_format(format: &str) -> AudioFormat {
fn get_format(format: &str) -> Format {
format.parse().unwrap_or_default()
}

Expand Down

0 comments on commit 64c1ab7

Please sign in to comment.