rust/chg/src/lib.rs
author Yuya Nishihara <yuya@tcha.org>
Mon, 24 Sep 2018 18:18:35 +0900
changeset 39974 a9c5fc436fd5
parent 39972 7a0ffdd4af78
child 39975 571d8eb39095
permissions -rw-r--r--
rust-chg: add callback to handle pager and shell command requests This could be inlined into the ChgRunCommand state to be introduced by the next patch, but it seemed good to separate any user interactions from the IPC code.

// Copyright 2018 Yuya Nishihara <yuya@tcha.org>
//
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2 or any later version.

extern crate bytes;
#[macro_use]
extern crate futures;
extern crate libc;
extern crate tokio;
extern crate tokio_hglib;
extern crate tokio_process;

pub mod attachio;
pub mod message;
pub mod procutil;
mod uihandler;

pub use uihandler::{ChgUiHandler, SystemHandler};