Crates.io | mpd-easy |
lib.rs | mpd-easy |
version | 0.2.1 |
source | src |
created_at | 2023-12-27 15:09:45.521409 |
updated_at | 2024-01-14 14:28:42.169852 |
description | A wrapper around the `mpd` crate simplifying common tasks. |
homepage | https://github.com/johnallen3d/mp-cli |
repository | https://github.com/johnallen3d/mp-cli.git |
max_upload_size | |
id | 1081712 |
size | 79,693 |
An MPD client library that wraps the mpd crate providing an interface that closely resembles the mpc commands.
This was created initially for fun and practice writing Rust. The library code here was written in support of mp-cli
.
Recently I've been playing around with the Rust nightly feature cargo-script
in conjunction with SketchBar. I wanted to see if I could write a SketchyBar plugin that displays current MPD status entirely in Rust. Combining this library, my Rust SketchyBar helper and cargo-script
I was able to do just that.
See the sketchybar example for more details.