From 06a2523476a11e2b8e5e12ca5579081d66f0e8cd Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 19 Aug 2026 19:45:04 +0200 Subject: fix: enable wav support --- Cargo.toml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 7127862..9049eef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "senator-sperma" -version = "0.4.0" +version = "0.4.1" edition = "2024" [profile.dev] @@ -13,7 +13,13 @@ serenity = "0.12.5" songbird = "0.6" # Async runtime -tokio = { version = "1.52.3", features = ["macros", "rt-multi-thread", "process", "time", "io-util"] } +tokio = { version = "1.52.3", features = [ + "macros", + "rt-multi-thread", + "process", + "time", + "io-util", +] } # Database sqlx = { version = "0.9", features = ["sqlite", "runtime-tokio", "chrono"] } @@ -40,15 +46,29 @@ cron = "0.17" # QR qrcode = "0.14.1" image = "=0.25.8" -rxing = { version = "0.8", default-features = false, features = ["image", "encoding_rs"] } +rxing = { version = "0.8", default-features = false, features = [ + "image", + "encoding_rs", +] } # HTML parsing scraper = "0.27" # Audio metadata -symphonia = { version = "0.6", default-features = false, features = ["mp3", "aac", "alac", "flac", "ogg", "wav", "isomp4"] } +symphonia = { version = "0.6", default-features = false, features = [ + "mp3", + "aac", + "alac", + "flac", + "ogg", + "wav", + "pcm", + "isomp4", +] } # Enable pcm codec on songbird's internal symphonia 0.5 for RawReader support -songbird-codec-pcm = { package = "symphonia", version = "0.5", features = ["pcm"] } +songbird-codec-pcm = { package = "symphonia", version = "0.5", features = [ + "pcm", +] } # Utilities rand = "0.10.1" -- cgit v1.2.3