From cd6a6ca1ea58334b78faadb5b0e800f71e6e6aa1 Mon Sep 17 00:00:00 2001 From: jbernava Date: Tue, 6 Aug 2024 20:29:48 +0200 Subject: [PATCH] chore: Fix build yml --- .github/workflows/build.yml | 8 ++--- Cargo.lock | 66 ++----------------------------------- Cargo.toml | 3 +- 3 files changed, 5 insertions(+), 72 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2504c8..c791a48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,11 +32,7 @@ jobs: test: name: Test Suite - strategy: - matrix: - os: [ ubuntu-latest, macos-latest, windows-latest ] - rust: [ stable ] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v2 @@ -45,7 +41,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: ${{ matrix.rust }} + toolchain: stable override: true - uses: Swatinem/rust-cache@v1 diff --git a/Cargo.lock b/Cargo.lock index c808a4d..7c0d6db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -104,7 +104,6 @@ version = "0.1.0" dependencies = [ "async-channel", "async-trait", - "cpal", "ezsockets", "hound", "iobuffer", @@ -200,9 +199,9 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bytemuck" -version = "1.16.1" +version = "1.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" +checksum = "102087e286b4677862ea56cf8fc58bb2cdfa8725c40ffb80fe3a008eb7f2fc83" [[package]] name = "byteorder" @@ -1706,30 +1705,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "815c942ae7ee74737bb00f965fa5b5a2ac2ce7b6c01c0cc169bbeaf7abd5f5a9" dependencies = [ "lazy_static", - "symphonia-bundle-flac", "symphonia-bundle-mp3", - "symphonia-codec-aac", "symphonia-codec-adpcm", "symphonia-codec-pcm", - "symphonia-codec-vorbis", "symphonia-core", - "symphonia-format-isomp4", "symphonia-format-riff", "symphonia-metadata", ] -[[package]] -name = "symphonia-bundle-flac" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e34f34298a7308d4397a6c7fbf5b84c5d491231ce3dd379707ba673ab3bd97" -dependencies = [ - "log", - "symphonia-core", - "symphonia-metadata", - "symphonia-utils-xiph", -] - [[package]] name = "symphonia-bundle-mp3" version = "0.5.4" @@ -1742,17 +1725,6 @@ dependencies = [ "symphonia-metadata", ] -[[package]] -name = "symphonia-codec-aac" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdbf25b545ad0d3ee3e891ea643ad115aff4ca92f6aec472086b957a58522f70" -dependencies = [ - "lazy_static", - "log", - "symphonia-core", -] - [[package]] name = "symphonia-codec-adpcm" version = "0.5.4" @@ -1773,17 +1745,6 @@ dependencies = [ "symphonia-core", ] -[[package]] -name = "symphonia-codec-vorbis" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a98765fb46a0a6732b007f7e2870c2129b6f78d87db7987e6533c8f164a9f30" -dependencies = [ - "log", - "symphonia-core", - "symphonia-utils-xiph", -] - [[package]] name = "symphonia-core" version = "0.5.4" @@ -1797,19 +1758,6 @@ dependencies = [ "log", ] -[[package]] -name = "symphonia-format-isomp4" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abfdf178d697e50ce1e5d9b982ba1b94c47218e03ec35022d9f0e071a16dc844" -dependencies = [ - "encoding_rs", - "log", - "symphonia-core", - "symphonia-metadata", - "symphonia-utils-xiph", -] - [[package]] name = "symphonia-format-riff" version = "0.5.4" @@ -1834,16 +1782,6 @@ dependencies = [ "symphonia-core", ] -[[package]] -name = "symphonia-utils-xiph" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "484472580fa49991afda5f6550ece662237b00c6f562c7d9638d1b086ed010fe" -dependencies = [ - "symphonia-core", - "symphonia-metadata", -] - [[package]] name = "syn" version = "1.0.109" diff --git a/Cargo.toml b/Cargo.toml index c6de8e9..894f5c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,10 +47,9 @@ async-channel = "1.9.0" [dev-dependencies] tokio = { version = "1.36.0", features = ["full"] } -rodio = { version = "0.19.0", features = ["symphonia", "symphonia-all"], default-features = false } +rodio = { version = "0.19.0", features = ["symphonia", "symphonia-wav", "symphonia-mp3"], default-features = false } hound = "3.5" -cpal = "0.15.3" reqwest = { version = "0.12", features = ["stream"] } iobuffer = "0.2.0"