From 74cc35ee2e3bd24bda34137dafd40c9d894bc3c0 Mon Sep 17 00:00:00 2001 From: LoicBersier Date: Wed, 30 Jul 2025 22:21:03 +0200 Subject: [PATCH] feat: Added dependency to remove unicode characters that the xbox might not support and to make sure to only process audio files --- Cargo.lock | 16 +++++++++++++++- Cargo.toml | 4 +++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02b0f15..0ba9e16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,6 +98,18 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" +[[package]] +name = "deunicode" +version = "1.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04" + +[[package]] +name = "file-format" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7ef3d5e8ae27277c8285ac43ed153158178ef0f79567f32024ca8140a0c7cd8" + [[package]] name = "heck" version = "0.5.0" @@ -258,9 +270,11 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "xbst" -version = "0.1.0" +version = "0.1.1" dependencies = [ "clap", + "deunicode", + "file-format", "thiserror", "zerocopy", ] diff --git a/Cargo.toml b/Cargo.toml index 4fba6e9..0bffc3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,11 @@ [package] name = "xbst" -version = "0.1.0" +version = "0.1.1" edition = "2021" [dependencies] thiserror = "2.0.12" clap = { version = "4.5.31", features = ["derive"] } zerocopy = { version = "0.8.26", features = ["derive"] } +deunicode = "1.6.2" +file-format = "0.26.0"