diff rust/chg/src/lib.rs @ 39977:74da9d999cd7

rust-chg: add Client extensions to run cHg-specific requests This just provides a nicer way to issue command-server requests.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 24 Sep 2018 18:57:54 +0900
parents 44840bcc411a
children bb936e25a84a
line wrap: on
line diff
--- a/rust/chg/src/lib.rs	Mon Sep 24 18:33:46 2018 +0900
+++ b/rust/chg/src/lib.rs	Mon Sep 24 18:57:54 2018 +0900
@@ -11,11 +11,13 @@
 extern crate tokio_hglib;
 extern crate tokio_process;
 
-pub mod attachio;
+mod attachio;
+mod clientext;
 pub mod locator;
 pub mod message;
 pub mod procutil;
-pub mod runcommand;
+mod runcommand;
 mod uihandler;
 
+pub use clientext::ChgClientExt;
 pub use uihandler::{ChgUiHandler, SystemHandler};