diff rust/chg/src/lib.rs @ 39972:7a0ffdd4af78

rust-chg: add future that handles "attachio" request This is the sequence to send client-side stdio and pager stdin to the server.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 24 Sep 2018 16:59:12 +0900
parents b1d8acd82d60
children a9c5fc436fd5
line wrap: on
line diff
--- a/rust/chg/src/lib.rs	Mon Sep 24 16:33:24 2018 +0900
+++ b/rust/chg/src/lib.rs	Mon Sep 24 16:59:12 2018 +0900
@@ -4,8 +4,12 @@
 // 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;
 
+pub mod attachio;
 pub mod message;
 pub mod procutil;