Mercurial > public > mercurial-scm > hg-stable
diff rust/chg/src/lib.rs @ 44689: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 | bb936e25a84a |
children | 8685add122ff |
line wrap: on
line diff
--- a/rust/chg/src/lib.rs Thu Apr 09 16:06:03 2020 +0530 +++ b/rust/chg/src/lib.rs Fri Apr 10 21:35:16 2020 +0900 @@ -3,17 +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 bytes; -#[macro_use] -extern crate futures; -extern crate libc; -#[macro_use] -extern crate log; -extern crate tokio; -extern crate tokio_hglib; -extern crate tokio_process; -extern crate tokio_timer; - mod attachio; mod clientext; pub mod locator;