#mpd #async #client

mpd_client

Asynchronous user-friendly MPD client

14 releases

Uses new Rust 2021

0.7.5 Jun 20, 2022
0.7.3 Mar 15, 2022
0.7.1 Dec 10, 2021
0.6.1 Aug 21, 2021
0.3.0 Mar 28, 2020

#1010 in Network programming

Download history 34/week @ 2022-04-24 77/week @ 2022-05-01 75/week @ 2022-05-08 220/week @ 2022-05-15 78/week @ 2022-05-22 133/week @ 2022-05-29 95/week @ 2022-06-05 19/week @ 2022-06-12 72/week @ 2022-06-19 48/week @ 2022-06-26 48/week @ 2022-07-03 57/week @ 2022-07-10 59/week @ 2022-07-17 59/week @ 2022-07-24 97/week @ 2022-07-31 63/week @ 2022-08-07

284 downloads per month
Used in 3 crates

MIT/Apache

210KB
5K SLoC

mpd_client

Asynchronous client for MPD.

Features

  • Asynchronous, using tokio.
  • Supports protocol version 0.23 and binary responses (e.g. for loading album art).
  • Typed command API that automatically deals with converting the response into proper Rust structs.
  • API for programmatically generating filter expressions without string wrangling.

Example

See the examples directory for a demo of using printing the currently playing song whenever it changes.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~5–11MB
~183K SLoC