Mercurial > public > mercurial-scm > hg
view rust/chg/src/lib.rs @ 39975:571d8eb39095
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 24 Sep 2018 18:21:10 +0900 |
parents | a9c5fc436fd5 |
children | 44840bcc411a |
line wrap: on
line source
// 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};