mpd_protocol 0.1.1

Implementation of MPD client protocol
Documentation
#![warn(
    missing_debug_implementations,
    missing_docs,
    rust_2018_idioms,
    unreachable_pub
)]
#![deny(intra_doc_link_resolution_failure)]

//! Implementation of the client protocol for [MPD](https://musicpd.org). 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`](parser/index.html)), and an implementation
//! of [Tokio](https://tokio.rs)'s
//! [codec](https://docs.rs/tokio-util/0.2.0/tokio_util/codec/index.html) subsystem to facilitate
//! asynchronous clients ([`codec`](codec/index.html)).

pub mod codec;
pub mod parser;
pub mod response;

pub use codec::{MpdCodec, MpdCodecError};
pub use parser::{greeting as parse_greeting, response as parse_response};
pub use response::Response;