Mercurial > public > mercurial-scm > hg
view rust/chg/src/lib.rs @ 39974:a9c5fc436fd5
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 24 Sep 2018 18:18:35 +0900 |
parents | 7a0ffdd4af78 |
children | 571d8eb39095 |
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; mod uihandler; pub use uihandler::{ChgUiHandler, SystemHandler};