Mercurial > public > mercurial-scm > hg
view rust/chg/src/lib.rs @ 44738:1be605526c34
rust-chg: reimplement attach_io operation as async function
In short, MessageLoop<Connection> was redesigned as Protocol<Connection>,
and the protocol methods no longer consume self.
API changes are briefly documented in the following page:
https://docs.rs/tokio-hglib/0.3.0/tokio_hglib/struct.Protocol.html
Differential Revision: https://phab.mercurial-scm.org/D8442
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 10 Apr 2020 22:07:11 +0900 |
parents | 8685add122ff |
children | c794d0da5fb2 |
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. 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};