rust/chg/src/lib.rs
author Yuya Nishihara <yuya@tcha.org>
Mon, 24 Sep 2018 18:21:10 +0900
changeset 39975 571d8eb39095
parent 39974 a9c5fc436fd5
child 39976 44840bcc411a
permissions -rw-r--r--
rust-chg: add state machine to handle "runcommand" request with cHg extension This is modeled after tokio-hglib's RunCommand state to support the "S" channel message.

// 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;
pub mod runcommand;
mod uihandler;

pub use uihandler::{ChgUiHandler, SystemHandler};