Commit graph

1073 commits

Author SHA1 Message Date
johannesd3
bb44b99c92 Use proxytunnel in apresolve
Implementing the tower_service::Service trait for a newly created
ProxyTunnel struct, so it can be used as connector in hyper.
2021-01-30 14:45:31 +01:00
johannesd3
c1d62d72a7 Fixed ProxyTunnel 2021-01-30 14:03:34 +01:00
johannesd3
a45fe85c27 Enable logging in test 2021-01-30 13:53:44 +01:00
johannesd3
c97fdeb3b4 Replaced .fold(0, add) by .sum() 2021-01-25 20:56:22 +01:00
johannesd3
07514c9dcc Add proxy support to apresolve 2021-01-25 20:55:49 +01:00
ashthespy
9546fb6e61 Merge branch 'futures_migration' of https://github.com/Johannesd3/librespot into tokio_migration 2021-01-25 18:35:18 +01:00
johannesd3
91d7d0422b Preparing main crate for testing 2021-01-25 09:04:47 +01:00
johannesd3
fe37186804 Make librespot_playback work 2021-01-25 09:04:33 +01:00
johannesd3
6c9d8c8d83 Replace pin_project and updated dependencies 2021-01-25 09:04:33 +01:00
johannesd3
0895f17f8a Migrated playback crate to futures 0.3 2021-01-25 09:04:33 +01:00
johannesd3
90905b81bb Improved RangeSet implementation 2021-01-25 09:04:33 +01:00
johannesd3
80d384e001 Migrated audio crate to futures 0.3 2021-01-25 09:04:33 +01:00
johannesd3
424ba3ae25 Migrated metadata crate to futures 0.3 2021-01-25 09:04:33 +01:00
johannesd3
6867ad0750 Added test 2021-01-25 09:04:33 +01:00
johannesd3
40e6355c34 Migrate core to tokio 1.0 2021-01-25 09:04:33 +01:00
Sasha Hilton
efabb03631 Fix incorrect cache initialisation causing crash on startup 2021-01-24 23:21:35 +00:00
ashthespy
0892587c0e [Core] WIP: Sessions 2021-01-23 22:21:42 +00:00
ashthespy
20dd94fe20 Fix tokio dependency in main 2021-01-23 22:21:42 +00:00
ashthespy
c273d51a1d [AudioKeyManager] Convert to async 2021-01-23 22:21:42 +00:00
ashthespy
94fc0a12da [Core/connection] Refactor to async/await 2021-01-23 22:21:42 +00:00
ashthespy
47a1575c00 WIP Futures
Fix apresolve

WIP session

[Core] More migration

Playing with `ReadExact` and `WriteAll`

Add some simple checks

Take little steps
2021-01-23 22:21:42 +00:00
ashthespy
c69ccf77e9 [Connect] Migrate to tokio 0.1 2021-01-23 22:21:42 +00:00
ashthespy
53b4ab05ba Migrate to tokio 0.1 2021-01-23 22:21:42 +00:00
ashthespy
9bbf8c3b26 WIP tokio-core -> tokio migration 2021-01-23 22:21:42 +00:00
ashthespy
962d7af24d Clean up hyper from binary 2021-01-23 22:21:42 +00:00
ashthespy
931c8207fc [Connect] Migrate to hyper ~v12 2021-01-23 22:21:42 +00:00
ashthespy
6f5607d9ab [Core] Bump hyper to ~0.12 2021-01-23 22:21:42 +00:00
Sasha Hilton
b76543b9a7
Merge pull request #570 from michaelherger/patch-1
Attempt to fix tests
2021-01-21 18:17:10 +00:00
Michael Herger
53f516e5de
Attempt to fix tests
Tests currently fail with some apt error:

> E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

This change would add the suggested `apt-get update`
2021-01-21 06:34:25 +01:00
Sasha Hilton
06f5aa9c90 Fix incorrect audio cache directory reference 2021-01-02 23:31:37 +00:00
Sasha Hilton
414383db18
Merge pull request #506 from LaurentLouf/feature-split_cache_folders
Feature split cache folders, resolves #505
2021-01-02 23:17:33 +00:00
Sasha Hilton
4678bf0a8f
Merge pull request #550 from jnqnfe/ga
CI: Replace Travis with Github Actions
2021-01-02 23:12:18 +00:00
Lyndon Brown
013a2fdcbf ci: optimise action triggers
it is pointless to run CI jobs for pushes / PRs that only change files that
would never cause a failure, such as documentation.

this avoids wasting resources for such situations.
2020-12-16 16:14:37 +00:00
Lyndon Brown
6f1bf7dd07 ci: add use of github actions
now that travis has ditched it's free service.
2020-12-16 16:05:03 +00:00
Lyndon Brown
0adb8516a6
compiling.md: fixup table formatting (#549)
Such that it is readable as a text file, not only in "rendered" markdown
2020-12-15 11:48:55 +01:00
Sasha Hilton
5d5f7846ec
Merge pull request #541 from jnqnfe/deps
Update some deps
2020-12-15 00:48:06 +00:00
Lyndon Brown
e114558e28 bump rpassword dependency further (v4 to v5)
not sure from brief look at commit log why they jumped to v5, did not care
to dig into it; compiles fine with v5.
2020-12-14 11:53:54 +00:00
Lyndon Brown
a01e0ddaca bump rpassword (v3 to v4)
they just bumped their `winapi` dependency.
2020-12-14 11:53:54 +00:00
Lyndon Brown
e0b7ce8ecd bump env_logger dependency (v0.6 to v0.8)
seems to compile fine.
2020-12-14 11:53:54 +00:00
Lyndon Brown
bda91339b3 bump hex dependency (v0.3 to v0.4)
very little changed, compile fine after.
2020-12-14 11:53:54 +00:00
Lyndon Brown
4fbbe44ab8 bump base64 dependency (v0.10 to v0.13)
very little changed, compiles fine after.
2020-12-14 11:53:54 +00:00
Lyndon Brown
0460429380 bump num-bigint dependency (v0.2 to v0.3)
compiles fine after version change; version changes seem to be very minimal.
2020-12-14 11:53:54 +00:00
Lyndon Brown
8ea200088c bump sdl2 dependency (v0.32 to v0.34)
doesn't seem to have any compatibility issues - compiled cleanly with sdl2
feature after version bump.
2020-12-14 11:53:54 +00:00
Lyndon Brown
3ba05845d2 upgrade jack dependency from v0.5 to v0.6
A bunch of stuff got moved around; means of constructing audio output port
changed.

I simply used the commits, mostly from [1], to their examples to figure
out how to address the errors that resulted from compiling after the
version bump. It compiles cleanly again now.

[1]: https://github.com/RustAudio/rust-jack/pull/89
2020-12-14 11:53:54 +00:00
Lyndon Brown
594de54bec bump zerocopy dependency
doesn't seem to have any compatibility issues.
2020-12-14 11:53:54 +00:00
Lyndon Brown
21b2110da2 bump glib and gstreamer dependency versions
(needed to be done together)

there was no changelog for gstreamer and far too many commits to check
compatibility, but compiling with the gstreamer backend feature works fine
with these new versions.
2020-12-14 11:53:54 +00:00
Lyndon Brown
bc973d02dc bump uuid dependency from 0.7 to 0.8
seems compatible
2020-12-14 11:53:54 +00:00
Lyndon Brown
2f809ea6e1 bump shell-words dependency to v1.0.0
nothing has changed, as noted here:
ae583f7a19
2020-12-14 11:53:54 +00:00
Sasha Hilton
7e8feed6dd
Merge pull request #540 from jnqnfe/pa
Improve PulseAudio backend
2020-12-14 01:20:22 +00:00
Lyndon Brown
120bd88326 fix alignment causing format check failure 2020-12-13 17:51:43 +00:00