johannesd3
7d6267c0a2
Use ready macro to reduce boilerplate
2021-04-17 12:23:24 +02:00
johannesd3
5616004dbe
Fix many clippy lints
...
...and other small improvements
2021-03-10 22:41:44 +01:00
Evan Cameron
6a33eb4efa
minor cleanup
2021-02-28 21:54:19 -05:00
johannesd3
10827bd6a8
Clean up dependencies of librespot-core
...
* Use sub-crates of future
* Remove unnecessary pin-project
* Removed unused crates and features
* Replace futures channels by tokio channels
* Use serde's "derive" feature flag instead of serde_derive
2021-02-23 22:22:51 +01:00
johannesd3
40e6355c34
Migrate core to tokio 1.0
2021-01-25 09:04:33 +01:00
Sasha Hilton
cdcb919c08
Merge branch 'dev' into connection-lost-crash
2020-01-24 01:02:40 +01:00
Konstantin Seiler
17821b26aa
Rename variable to be in line with existing code.
2020-01-23 19:32:00 +11:00
Konstantin Seiler
ea1e0925dc
Enable proper shutdown of the channels.
2020-01-23 01:23:34 +11:00
Konstantin Seiler
362106df62
Fix error handling for closed channel.
...
fixes #417
2020-01-22 16:58:21 +11:00
ashthespy
d26590afc5
Update to Rust 2018
...
- Fix deprecated Error::cause warnings and missing dyn
- Reset max_width
- Add rustfmt to Travis
- Run rustfmt on full codebase
with `cargo fmt --all`
- Add rustfmt to Travis
- Complete migration to edition 2018
- Replace try! shorthand
- Use explicit `dyn Trait`
2020-01-17 18:11:52 +01:00
Konstantin Seiler
d2d6df0e24
Run cargo fmt for my code.
2019-11-11 18:22:41 +11:00
Konstantin Seiler
cdb31f79e4
Merge remote-tracking branch 'kaymes/dynamic-blocks' into dynamic-blocks-kdev
2019-11-08 09:20:31 +11:00
Konstantin Seiler
c4e0f15eb3
Tune prefetch, squish bugs.
2019-11-08 08:58:17 +11:00
Konstantin Seiler
6422dcef78
Refine file downloading heuristics to use data rates and ping times everywhere.
2019-11-08 00:02:53 +11:00
Konstantin Seiler
224ec0a04e
Remove log message
2019-11-06 14:38:28 +11:00
Konstantin Seiler
333fc5010c
New file downloading mechanism
2019-11-02 06:46:28 +11:00
Johan Anderholm
612978908f
Reformat according to new rustfmt rules
2018-03-24 08:45:43 +00:00
awiouy
c9ba73c9ef
rustfmt: core
2018-02-11 12:37:08 +01:00
awiouy
434b824c6e
core API: dispatch
2018-02-09 21:06:16 +01:00
Thomas Bächler
d36017d6f0
Remove usage of deprecated tokio_core::io
2018-01-25 23:23:45 +01:00
Thomas Bächler
630de8c0a9
Use futures::sync::mpsc::UnboundedSender::unbounded_send() instead of the deprecated send()
2018-01-25 23:23:45 +01:00
Paul Lietar
bf60f6e7ab
Create new librespot-core crate
2017-08-03 19:58:44 +01:00