Roderick van Domburg
62461be1fc
Change panics into Result<_, librespot_core::Error>
2021-12-26 21:18:42 +01:00
Roderick van Domburg
9a93cca562
Get connection ID
2021-12-11 23:06:58 +01:00
Roderick van Domburg
9a0d2390b7
Get user attributes and updates
2021-12-11 00:03:35 +01:00
Roderick van Domburg
d19fd24074
Add spclient and HTTPS support
...
* Change metadata to use spclient
* Add support for HTTPS proxies
* Start purging unwraps and using Result instead
2021-11-26 23:28:37 +01:00
Roderick van Domburg
e58934849f
Fix clippy warnings
2021-06-23 21:43:23 +02:00
Roderick van Domburg
0703630041
Use PacketType
instead of hex identifiers
2021-06-22 23:57:38 +02:00
Johannesd3
28dd842e05
Fix bug in MercurySender
2021-05-24 16:31:34 +02:00
johannesd3
041f084d7f
Fix warnings
2021-05-13 22:42:55 +02:00
johannesd3
7d6267c0a2
Use ready macro to reduce boilerplate
2021-04-17 12:23:24 +02:00
johannesd3
e688e7e886
Almost eliminate util module
2021-04-10 12:50:30 +02:00
johannesd3
7c3d89112d
Fix clippy warnings
2021-04-09 10:45:43 +02: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
2c81aaaf4e
Implement MercurySender not as sink
2021-02-21 14:10:00 +01:00
johannesd3
daf7ecd23a
Migrate librespot-connect to tokio 1.0
2021-02-21 14:09:31 +01:00
johannesd3
6c9d8c8d83
Replace pin_project and updated dependencies
2021-01-25 09:04:33 +01:00
johannesd3
40e6355c34
Migrate core to tokio 1.0
2021-01-25 09:04:33 +01:00
PlusMinus0
6f084d7ea5
Fix utf username.
2020-05-12 08:55:08 +02: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
3fe3849588
Enable Mercury to be shut down and all pending requests being cancelled.
2020-01-23 01:14:43 +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
Sasha Hilton
96124c5e18
Add 5xx error panic
2018-04-06 02:44:06 +02:00
Johan Anderholm
612978908f
Reformat according to new rustfmt rules
2018-03-24 08:45:43 +00:00
awiouy
0ed4fb1c68
core API: MercuryManager.request()
2018-02-13 08:24:59 +01:00
awiouy
c9ba73c9ef
rustfmt: core
2018-02-11 12:37:08 +01:00
awiouy
a8bb696be8
core API: MercurySender::new
2018-02-10 08:23:46 +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
Thomas Bächler
5237203899
Remove usage of deprecated BoxFuture, BoxStream and BoxSink
2018-01-25 23:23:45 +01:00
Thomas Bächler
644355269e
Use futures::sync::oneshot::Sender::send() instead of the deprecated complete()
2018-01-25 23:23:45 +01:00
Paul Lietar
bf60f6e7ab
Create new librespot-core crate
2017-08-03 19:58:44 +01:00