Commit graph

1952 commits

Author SHA1 Message Date
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
George Hahn 6a4053e871 Update audio to hyper 1.x 2024-06-06 03:06:45 -06:00
George Hahn 0a7a874ca0 Update core to hyper 1.x 2024-06-06 03:06:44 -06:00
George Hahn 98a97588d3 Enable deprecation warnings and address 2024-06-06 03:06:44 -06:00
Roderick van Domburg 8f9bec21d7
Merge pull request #1284 from yubiuser/fix/clippy
Fix/clippy
2024-05-27 22:33:10 +02:00
Christian König 2a8c4bdc01
Apply reviewer's suggestion
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-05-27 20:11:14 +00:00
Roderick van Domburg 7d45a94291
Merge pull request #1239 from lelloman/fix-base62-16-id-decoding-overflow
Fix SpotifyId base 62 and 16 str decoding
2024-05-26 22:09:46 +02:00
Roderick van Domburg 120605ced7
Merge pull request #1285 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.6
Bump actions/checkout from 4.1.5 to 4.1.6
2024-05-26 22:08:27 +02:00
Domenico Cerasuolo ce5e2f2392 Fix SpotifyId base 62 and 16 str decoding
A SpotifyId is expected to be a 128 bits integer and can be parsed from a
base 62 or 16 string. However the parsing functions only checked the validity of
the characters of the string, but not its length. This could result in integer
overflows or the parsing of incorrect strings as Spotify ids.

This commit add some checks to the length of the input string passed to the
parse functions, and also checks for integer overflows in case of base62
encoded strings.
2024-05-23 16:21:51 +02:00
dependabot[bot] a58dfcc083
Bump actions/checkout from 4.1.5 to 4.1.6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [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.5...v4.1.6)

---
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-05-18 10:43:27 +00:00
Christian König 27d3c9e92f
Fix clippy::to_string_trait_impl
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-05-11 19:53:55 +00:00
Christian König 99878e0f72
Fix derivable_impls
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-05-11 19:13:08 +00:00
Christian König ca035c9d17
Set MSRV in Cargo.toml files to 1.71
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-05-11 19:03:06 +00:00
Christian König 0884a0d76a
Fix assigning_clones
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-05-11 18:53:46 +00:00
Christian König 5fc8d2d3e6
Add rust env variables to devcontainer
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-05-11 12:29:25 +00:00
Roderick van Domburg c37ec8c859
Merge pull request #1269 from librespot-org/dependabot/github_actions/dev/actions/cache-4.0.2
Bump actions/cache from 4.0.0 to 4.0.2
2024-05-11 12:40:06 +02:00
dependabot[bot] 103044cbd3
Bump actions/cache from 4.0.0 to 4.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4.0.0...v4.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-11 10:35:35 +00:00
Roderick van Domburg a5964c28fb
Merge pull request #1270 from yubiuser/fix/clippy
Fix clippy warnings
2024-05-11 12:34:05 +02:00
Roderick van Domburg 43269cfd73
Merge pull request #1271 from yubiuser/tweak/devcontainer
Tweak/devcontainer
2024-05-11 12:33:16 +02:00
Roderick van Domburg b2949c9a1e
Merge pull request #1283 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.5
Bump actions/checkout from 4.1.4 to 4.1.5
2024-05-11 12:32:53 +02:00
dependabot[bot] 7e3ed6f4f2
Bump actions/checkout from 4.1.4 to 4.1.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [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.4...v4.1.5)

---
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-05-11 10:29:42 +00:00
Roderick van Domburg 9959a6c6d6
Merge pull request #1280 from gdesmott/lyrics-parsing
lyrics: remove fullscreen_action
2024-05-09 13:22:09 +02:00
Guillaume Desmottes a3b6e29520 lyrics: remove fullscreen_action
Looks like it's been removed from the JSON returned by Spotify.
2024-05-09 12:07:37 +02:00
Roderick van Domburg 329a1b1607
Merge pull request #1278 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.4
Bump actions/checkout from 4.1.3 to 4.1.4
2024-04-27 12:51:31 +02:00
dependabot[bot] e34f521196
Bump actions/checkout from 4.1.3 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [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.3...v4.1.4)

---
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-04-27 10:19:49 +00:00
Roderick van Domburg 2444e2c157
Merge pull request #1275 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.3
Bump actions/checkout from 4.1.2 to 4.1.3
2024-04-20 21:12:10 +02:00
dependabot[bot] b2c87597e3
Bump actions/checkout from 4.1.2 to 4.1.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [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.2...v4.1.3)

---
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-04-20 10:37:49 +00:00
Roderick van Domburg a6065d6bed
Merge pull request #1272 from librespot-org/dependabot/cargo/h2-0.3.26
Bump h2 from 0.3.24 to 0.3.26
2024-04-05 21:36:28 +02:00
dependabot[bot] 6bb953432b
Bump h2 from 0.3.24 to 0.3.26
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 16:15:55 +00:00
Christian König 63e2490821
Fix redundant import checking on beta toolchain
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 17:37:07 +00:00
Christian König 7bc7b46b9e
Don't remove dev dependencies but instead use --no-dev-deps option of cargo hack which will restore Cargo.toml after run
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 14:51:13 +00:00
Christian König 2cd2346edb
Fix map_clone and explicit truncate when file is create
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 14:32:00 +00:00
Christian König b24fb871ae
Add test.sh to allow to run test suite easily
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 14:27:37 +00:00
Christian König a692b8cccc
Bump rust version to 1.71 on devcontainer
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 14:27:11 +00:00
Roderick van Domburg 9929635b5b
Merge pull request #1267 from acolombier/fix/update-spotify-version
fix: change spotify version needed in clientoken to use semantic format
2024-03-31 11:40:02 +02:00
Roderick van Domburg 27b8a6d81b
Merge pull request #1265 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.2
Bump actions/checkout from 4.1.1 to 4.1.2
2024-03-31 11:37:13 +02:00
Roderick van Domburg 2a1447daa0
Merge pull request #1263 from gpajot/dev
fix: working armv6hf docker image for cross-compiling
2024-03-31 11:37:01 +02:00
Roderick van Domburg 98c5277527
Merge pull request #1256 from yubiuser/devcontainer
Add devcontainer
2024-03-31 11:36:09 +02:00
Roderick van Domburg bae18de170
Merge pull request #1255 from yubiuser/update/dependencies
Update/dependencies
2024-03-31 11:29:08 +02:00
Antoine C d881f46ce7 fix: change spotify version needed in clientoken to use semantic format 2024-03-19 22:05:29 +00:00
dependabot[bot] f8b4d26400
Bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [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.1...v4.1.2)

---
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-03-16 10:57:53 +00:00
yubiuser 22da17d9a3
Merge branch 'dev' into update/dependencies 2024-03-16 08:56:19 +01:00