[][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).

Re-exports

pub use codec::MpdCodec;
pub use codec::MpdCodecError;
pub use command::Command;
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

This module contains utilities for constructing MPD commands.

parser

nom-based parsers for MPD responses.

response

Complete responses.