Mercurial > public > mercurial-scm > hg
diff rust/chg/src/main.rs @ 44688:1f5ab1a9363d
rust-chg: upgrade to 2018 edition and remove useless extern crates
Differential Revision: https://phab.mercurial-scm.org/D8399
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 10 Apr 2020 21:35:16 +0900 |
parents | 065048e66f32 |
children | 5ac5c25ea97b |
line wrap: on
line diff
--- a/rust/chg/src/main.rs Thu Apr 09 16:06:03 2020 +0530 +++ b/rust/chg/src/main.rs Fri Apr 10 21:35:16 2020 +0900 @@ -3,12 +3,6 @@ // This software may be used and distributed according to the terms of the // GNU General Public License version 2 or any later version. -extern crate chg; -extern crate futures; -extern crate log; -extern crate tokio; -extern crate tokio_hglib; - use chg::locator::{self, Locator}; use chg::procutil; use chg::{ChgClientExt, ChgUiHandler};