Commit graph

1993 commits

Author SHA1 Message Date
Christoph Gysin fb5c0efdd6
Freeze dependencies used in CI (#1338)
Some checks failed
test / cargo fmt (push) Failing after 35s
test / cargo +${{ matrix.toolchain }} clippy (${{ matrix.os }}) (ubuntu-latest, stable) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (false, ubuntu-latest, 1.74) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (false, ubuntu-latest, stable) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (true, ubuntu-latest, beta) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (windows-latest, 1.74) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (windows-latest, stable) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, aarch64-unknown-linux-gnu, 1.74) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, aarch64-unknown-linux-gnu, stable) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, armv7-unknown-linux-gnueabihf, 1.74) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, armv7-unknown-linux-gnueabihf, stable) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, riscv64gc-unknown-linux-gnu, 1.74) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, riscv64gc-unknown-linux-gnu, stable) (push) Has been skipped
2024-09-17 16:37:20 +02:00
yubiuser 22a8850fe9
Revert lint exception by setting minor version of protobuf (#1339) 2024-09-16 19:42:55 +02:00
Christoph Gysin 338d8b90b2
Update lockfile (#1337) 2024-09-16 12:19:12 +02:00
yubiuser 0be490f58d
Add aarch64 and riscv64 cross compilation targets (#1334) 2024-09-14 18:46:14 +02:00
David Sheets 8fab3d66e2
discovery::server: fix activeUser field of getInfo (#1235) 2024-09-14 18:44:07 +02:00
yubiuser fdf62d199d
Add alpine based Dockerfile for Devcontainer (#1332) 2024-09-13 07:41:40 +02:00
yubiuser b85bab5095
Remove .cargo/config.toml and set link compiler on CI with CARGO_TARGET_<triple>_LINKER (#1333)
* Remove .cargo/config.toml and set link compiler on CI with CARGO_TARGET_<triple>_LINKER

* Run windows and cross builds parallel to linux tests

Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-13 07:40:22 +02:00
Nick Steel 4f9151c642
Credentials with access token (oauth) (#1309)
* core: Create credentials from access token via OAuth2

* core: Credentials.username is optional: not required for token auth.

* core: store auth data within session. We might need this later if need to re-auth and original creds are no longer valid/available.

* bin: New --token arg for using Spotify access token. Specify 0 to manually enter the auth code (headless).

* bin: Added --enable-oauth / -j option. Using --password / -p option will error and exit.

* core: reconnect session if using token authentication

Token authenticated sessions cannot use keymaster. So reconnect using the reusable credentials we just obtained. Can perhaps remove this
workaround once keymaster is replaced with login5.

* examples: replace password login with token login
2024-09-13 07:35:55 +02:00
Roderick van Domburg f6473319f6
Merge pull request #1328 from yubiuser/allow_removed_lints
Some checks failed
test / cargo fmt (push) Failing after 36s
test / cargo +${{ matrix.toolchain }} clippy (${{ matrix.os }}) (ubuntu-latest, stable) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (false, ubuntu-latest, 1.74) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (false, ubuntu-latest, stable) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (true, ubuntu-latest, beta) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (windows-latest, 1.74) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (windows-latest, stable) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, armv7-unknown-linux-gnueabihf, 1.74) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, armv7-unknown-linux-gnueabihf, stable) (push) Has been skipped
Allow renamed-and-removed-lints
2024-09-08 01:11:08 +02:00
yubiuser ebd4f1cdc2
Allow renamed-and-removed-lints
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-07 21:56:02 +02:00
Roderick van Domburg e9234d3d15
Merge pull request #1318 from yubiuser/hyper
Update hyper-rustls to 0.27 and adjust CI workflow
2024-09-05 22:12:21 +02:00
Roderick van Domburg 99ef3ec3e3
Merge pull request #1317 from yubiuser/update
Update dependencies
2024-09-05 22:12:07 +02:00
yubiuser ac02ca224e
Update sdl2
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 22:40:35 +02:00
yubiuser 09ffc01e77
Update rodio
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 22:35:45 +02:00
yubiuser 102a8fd833
Add cargo clean to test.sh
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 22:28:53 +02:00
yubiuser 78a8c61f85
Don't use 'cross' for cross-compilation
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 15:46:03 +02:00
yubiuser 8f0c7b2b0d
Install NASM on Windows CI job
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 15:33:40 +02:00
yubiuser 3e85d77bfb
Update hyper-rustls to 0.27.2
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 15:32:16 +02:00
yubiuser bec54a64f1
Update quick-xml to 0.36.1
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-28 13:42:13 +02:00
yubiuser dc22910673
Update vergen to version 9 by using the new vergen-gitctl libary
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-28 13:13:29 +02:00
yubiuser dcd592bafb
Update MSRV to 1.74.0 and sysinfo to 0.31.3
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-27 23:16:48 +02:00
Roderick van Domburg 2ea7436e60
Merge pull request #1315 from willstott101/libmdns-0.9.1
Some checks failed
test / cargo fmt (push) Failing after 40s
test / cargo +${{ matrix.toolchain }} clippy (${{ matrix.os }}) (ubuntu-latest, stable) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (false, ubuntu-latest, 1.73) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (false, ubuntu-latest, stable) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (true, ubuntu-latest, beta) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (windows-latest, 1.73) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (windows-latest, stable) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, armv7-unknown-linux-gnueabihf, 1.73) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, armv7-unknown-linux-gnueabihf, stable) (push) Has been skipped
Bump libmdns from 0.8.0 to 0.9.1
2024-08-25 01:01:18 +02:00
Will Stott 2c871bbc96 Bump libmdns from 0.8.0 to 0.9.1 2024-08-24 17:31:34 +01:00
Roderick van Domburg a3a1c17af9
Merge pull request #1305 from librespot-org/dependabot/cargo/zerovec-0.10.4
Bump zerovec from 0.10.2 to 0.10.4
2024-08-21 21:46:49 +02:00
Roderick van Domburg 3e6f2ad5fb
Merge pull request #1306 from librespot-org/dependabot/cargo/zerovec-derive-0.10.3
Bump zerovec-derive from 0.10.2 to 0.10.3
2024-08-21 21:46:37 +02:00
dependabot[bot] b00889a08f
Bump zerovec-derive from 0.10.2 to 0.10.3
Bumps [zerovec-derive](https://github.com/unicode-org/icu4x) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/commits/ind/zerovec-derive@0.10.3)

---
updated-dependencies:
- dependency-name: zerovec-derive
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 19:46:19 +00:00
dependabot[bot] d909286fa5
Bump zerovec from 0.10.2 to 0.10.4
Bumps [zerovec](https://github.com/unicode-org/icu4x) from 0.10.2 to 0.10.4.
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/commits/ind/zerovec@0.10.4)

---
updated-dependencies:
- dependency-name: zerovec
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 18:37:46 +00:00
Roderick van Domburg 299b7dec20
Merge pull request #1303 from DaXcess/clienttoken-ver-fix
Fix spotify version in client token request
2024-07-01 19:57:46 +02:00
DaXcess ba8ec55345
Fix spotify version in client token request 2024-07-01 15:38:50 +02:00
Roderick van Domburg cdff6da1f8
Merge pull request #1302 from JoeyEamigh/add-group-flag
add flag to display connect device as group
2024-06-17 23:16:28 +02:00
Joey Eamigh 180ffacde1
adding flag to show connect device as group 2024-06-15 23:36:47 -04:00
Roderick van Domburg c10d29b829
Merge pull request #1301 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.7
Bump actions/checkout from 4.1.6 to 4.1.7
2024-06-15 12:56:06 +02:00
dependabot[bot] 0b3c3b6107
Bump actions/checkout from 4.1.6 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15 10:02:55 +00:00
Roderick van Domburg 369b95388f
Merge pull request #1299 from starypatyk/docker-remove-mips
Docker cross compile - remove MIPS target platform
2024-06-11 22:33:46 +02:00
Dariusz Olszewski 4f8a84e7cb Docker cross compile - remove MIPS target platform
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2024-06-11 20:55:27 +02:00
Roderick van Domburg 6fb3572951
Merge pull request #1298 from yubiuser/update/deps
Update/deps
2024-06-10 22:39:08 +02:00
Christian König 419fd748f4
Update cargo.lock
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-10 19:36:20 +00:00
Christian König b0170d142b
Bump MSRV to 1.73
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-10 18:50:38 +00:00
Christian König 983777518f
Update rodio to 0.18.1
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-10 18:44:06 +00:00
Christian König 0990143fed
Update quick-xml to 0.32
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-10 18:06:07 +00:00
Christian König 8ec9868ad5
Update priority-queue to 2.0
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-10 17:51:44 +00:00
Christian König 90625a71d0
Update base64 to 0.22
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-10 16:31:01 +00:00
Roderick van Domburg cbaad72b94
Merge pull request #1297 from starypatyk/dev-docker-build
Fix building Docker image for cross-compilation [dev branch]
2024-06-10 08:22:35 +02:00
Dariusz Olszewski 799bc38094 Fix building Docker image for cross-compilation:
* Debian stretch packages are now available only from archive.debian.org
* Use rust 1.71 - MIPS target demoted to tier 3 at 1.72

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
(cherry picked from commit 3c0d998825)
2024-06-09 22:26:37 +02:00
Roderick van Domburg 2288759309
Merge pull request #1295 from thedtvn/fix-tokio-tungstenite-with-ver-0.23.0
Update core/src/dealer/mod.rs fix tokio-tungstenite with ver 0.23
2024-06-09 10:07:41 +02:00
Roderick van Domburg 15044302a8
Merge pull request #1291 from GeorgeHahn/hyper-update
Update hyper to 1.x
2024-06-09 10:06:54 +02:00
The DT b0d7fa62cf
Update mod.rs fix tokio-tungstenite with ver 0.23 2024-06-09 14:20:37 +07:00
George Hahn bd5c284790 Fix build error when hyper's server feature isn't enabled
hyper's `server` feature is not always enabled. The `hyper::Error::is_parse_too_large` function isn't included when `server` isn't enabled.

Fortunately, it doesn't matter to us: `Error:is_parse` matches `parse_too_large` errors, so removing this check does not change behavior whatsoever.
2024-06-07 02:08:54 -06:00
George Hahn e1113dd5e2 cargo fmt 2024-06-06 21:37:26 -06:00
George Hahn da0deb1de6 Convert discovery to hyper 1.x 2024-06-06 03:36:24 -06:00