[−][src]Crate mpd_protocol
Implementation of the client protocol for MPD. Supports binary responses
and command lists, provided they are initiated with the command_list_ok_begin
command.
Consists of a parser for MPD responses (parser
), and an implementation
of Tokio's
codec subsystem to facilitate
asynchronous clients (codec
).
Also provided are utilities for constructing commands and filter expressions, as a special case of argument to commands.
Re-exports
pub use codec::MpdCodec; |
pub use codec::MpdCodecError; |
pub use command::Command; |
pub use filter::Filter; |
pub use parser::greeting as parse_greeting; |
pub use parser::response as parse_response; |
pub use response::Response; |
Modules
codec | Codec for MPD protocol. |
command | Tools for constructing MPD commands. |
filter | Tools for constructing filter
expressions, as used by e.g. the
|
parser |
|
response | Complete responses. |