rust/chg/src/lib.rs
author Yuya Nishihara <yuya@tcha.org>
Fri, 10 Apr 2020 22:44:51 +0900
changeset 44751 94cace4b80ea
parent 44750 c794d0da5fb2
child 44752 d6f706929120
permissions -rw-r--r--
rust-chg: reimplement run_command operation as async function The crafted state machine is no longer needed thanks to async/await. The state machine is basically rewritten as follows: - Ready(..) -> return .. - PollAgain(..) -> run .. and await - Err(..) -> return Err(..) Differential Revision: https://phab.mercurial-scm.org/D8445

// 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.

mod attachio;
//mod clientext;
//pub mod locator;
pub mod message;
pub mod procutil;
mod runcommand;
mod uihandler;

//pub use clientext::ChgClientExt;
pub use uihandler::{ChgUiHandler, SystemHandler};