1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
//! Crate for communicating with way-cooler over its IPC sockets.

#![deny(missing_docs)]

extern crate rustc_serialize;
extern crate unix_socket;

mod client;
mod message;
pub use self::message::{Command, CommandError, CommandSuccess, CommandResult};
mod command;
pub use self::command::CommandClient;

/// Connect to the active way-cooler command IPC.
pub fn connect_to_command() -> CommandClient {
    unimplemented!()
}