rust/chg/src/lib.rs
author Yuya Nishihara <yuya@tcha.org>
Fri, 10 Apr 2020 23:26:36 +0900
changeset 44752 d6f706929120
parent 44751 94cace4b80ea
child 44753 a347a329e48d
permissions -rw-r--r--
rust-chg: reimplement ChgClientExt as ChgClient wrapper ChgClient is no longer an extension trait because: a. Client object is not consumed and recreated in future-0.3 world, which unblocks writing a simple wrapper struct. b. async fn isn't allowed in trait. Overall, the API should become simpler. Differential Revision: https://phab.mercurial-scm.org/D8446

// 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::ChgClient;
pub use uihandler::{ChgUiHandler, SystemHandler};