Petr Tesarik
c600297f52
Fix newly reported clippy errors
...
- Use variables directly in format strings.
As reported by clippy, variables can be used directly in the
`format!` string.
- Use rewind() instead of seeking to 0.
- Remove superfluous & and ref.
Signed-off-by: Petr Tesarik <petr@tesarici.cz>
2023-01-27 23:15:51 +01:00
Roderick van Domburg
2a79af1f0a
Migrate to Rust 2021
2022-08-02 21:42:38 +02:00
Roderick van Domburg
44860f4738
Remove assertions for what we know works well
2022-01-25 20:58:39 +01:00
Roderick van Domburg
62461be1fc
Change panics into Result<_, librespot_core::Error>
2021-12-26 21:18:42 +01:00
Roderick van Domburg
0d51fd43dc
Remove unwraps from librespot-audio
2021-12-18 23:44:13 +01:00
Evan Cameron
6a33eb4efa
minor cleanup
2021-02-28 21:54:19 -05:00
johannesd3
5c42d2e879
Clean up dependencies in librespot-audio
...
* Remove unused deps
* Use futures-util instead of futures
* Replace futures channels by tokio channels
* Remove unnecessary pin_project
* Reordered "use" statements
2021-02-23 22:22:52 +01:00
johannesd3
c97fdeb3b4
Replaced .fold(0, add) by .sum()
2021-01-25 20:56:22 +01:00
johannesd3
90905b81bb
Improved RangeSet implementation
2021-01-25 09:04:33 +01:00
marcelbuesing
38d82f2dc2
Rerun rustfmt on full codebase
2020-01-17 18:47:30 +01:00
Konstantin Seiler
d2d6df0e24
Run cargo fmt for my code.
2019-11-11 18:22:41 +11:00
Konstantin Seiler
c4e0f15eb3
Tune prefetch, squish bugs.
2019-11-08 08:58:17 +11:00
Konstantin Seiler
393df6475e
Set better log messages.
2019-11-05 22:58:00 +11:00
Konstantin Seiler
333fc5010c
New file downloading mechanism
2019-11-02 06:46:28 +11:00