diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00d852a..ae930bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,14 +33,14 @@ jobs: name: lowfi-windows-x86_64.exe command: build - - release_for: MacOS-x86_64 + - release_for: MacOS x86_64 os: macos-latest target: x86_64-apple-darwin bin: lowfi name: lowfi-darwin-x86_64 command: build - - release_for: MacOS-aarch64 + - release_for: MacOS aarch64 os: macos-latest target: aarch64-apple-darwin bin: lowfi @@ -56,6 +56,10 @@ jobs: with: submodules: "true" + - name: Install dependencies + if: matrix.os == 'ubuntu-latest' + run: sudo apt install libasound2-dev + - name: Build binary uses: houseabsolute/actions-rust-cross@v0 with: diff --git a/Cargo.lock b/Cargo.lock index ddf4e04..ac7fcc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -982,7 +982,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lowfi" -version = "1.2.0" +version = "1.2.1" dependencies = [ "Inflector", "arc-swap", @@ -1509,7 +1509,6 @@ dependencies = [ "base64", "bytes", "encoding_rs", - "futures-channel", "futures-core", "futures-util", "h2", @@ -1610,11 +1609,10 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "2.1.3" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" dependencies = [ - "base64", "rustls-pki-types", ] @@ -1985,9 +1983,9 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.12.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" +checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" dependencies = [ "cfg-if", "fastrand", @@ -2052,9 +2050,7 @@ dependencies = [ "bytes", "libc", "mio", - "parking_lot", "pin-project-lite", - "signal-hook-registry", "socket2", "tokio-macros", "windows-sys 0.52.0", diff --git a/Cargo.toml b/Cargo.toml index c2efda7..6812c41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "lowfi" -version = "1.2.0" +version = "1.2.1" edition = "2021" description = "An extremely simple lofi player." license = "MIT" readme = "README.md" -categories = ["command-line-interface", "command-line-utilities", "multimedia", "multimedia::audio"] +categories = [ + "command-line-interface", + "command-line-utilities", + "multimedia", + "multimedia::audio", +] keywords = ["lowfi", "lofi", "music"] documentation = "https://github.com/talwat/lowfi" homepage = "https://github.com/talwat/lowfi" @@ -14,21 +19,24 @@ repository = "https://github.com/talwat/lowfi" [dependencies] # Basics clap = { version = "4.5.18", features = ["derive", "cargo"] } -eyre = "0.6.12" +eyre = { version = "0.6.12" } rand = "0.8.5" # Async -tokio = { version = "1.40.0", features = ["full"] } +tokio = { version = "1.40.0", features = [ + "macros", + "rt-multi-thread", +], default-features = false } futures = "0.3.30" arc-swap = "1.7.1" # Data -reqwest = { version = "0.12.7", features = ["blocking"] } +reqwest = "0.12.7" bytes = "1.7.2" # Misc scraper = "0.20.0" -rodio = { version = "0.19.0", features = ["mp3"], default-features = false } +rodio = { version = "0.19.0", features = ["symphonia-mp3"], default-features = false } crossterm = "0.28.1" Inflector = "0.11.4" lazy_static = "1.5.0"