1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! Tokio-based async client library for [Mercurial command server][].
//!
//! [Mercurial command server]: https://www.mercurial-scm.org/wiki/CommandServer

extern crate bytes;
#[macro_use]
extern crate futures;
extern crate tokio;
extern crate tokio_codec;
extern crate tokio_io;
extern crate tokio_process;
#[cfg(unix)]
extern crate tokio_uds;

pub(crate) mod client;
pub mod codec;
pub(crate) mod connection;
pub mod message;
pub mod protocol;
pub(crate) mod runcommand;

pub use client::{Client, ClientAux, PipeClient};
#[cfg(unix)]
pub use client::UnixClient;
pub use connection::Connection;
pub use runcommand::UiHandler;