Show More
@@ -4,6 +4,7 b' version = "0.1.0"' | |||||
4 | authors = ["Yuya Nishihara <yuya@tcha.org>"] |
|
4 | authors = ["Yuya Nishihara <yuya@tcha.org>"] | |
5 | description = "Client for Mercurial command server with cHg extension" |
|
5 | description = "Client for Mercurial command server with cHg extension" | |
6 | license = "GPL-2.0+" |
|
6 | license = "GPL-2.0+" | |
|
7 | edition = "2018" | |||
7 |
|
8 | |||
8 | [dependencies] |
|
9 | [dependencies] | |
9 | bytes = "0.4" |
|
10 | bytes = "0.4" |
@@ -1,5 +1,3 b'' | |||||
1 | extern crate cc; |
|
|||
2 |
|
||||
3 |
|
|
1 | fn main() { | |
4 | cc::Build::new() |
|
2 | cc::Build::new() | |
5 | .warnings(true) |
|
3 | .warnings(true) |
@@ -5,7 +5,7 b'' | |||||
5 |
|
5 | |||
6 | //! Functions to send client-side fds over the command server channel. |
|
6 | //! Functions to send client-side fds over the command server channel. | |
7 |
|
7 | |||
8 | use futures::{Async, Future, Poll}; |
|
8 | use futures::{try_ready, Async, Future, Poll}; | |
9 | use std::io; |
|
9 | use std::io; | |
10 | use std::os::unix::io::AsRawFd; |
|
10 | use std::os::unix::io::AsRawFd; | |
11 | use tokio_hglib::codec::ChannelMessage; |
|
11 | use tokio_hglib::codec::ChannelMessage; |
@@ -3,17 +3,6 b'' | |||||
3 | // This software may be used and distributed according to the terms of the |
|
3 | // This software may be used and distributed according to the terms of the | |
4 | // GNU General Public License version 2 or any later version. |
|
4 | // GNU General Public License version 2 or any later version. | |
5 |
|
5 | |||
6 | extern crate bytes; |
|
|||
7 | #[macro_use] |
|
|||
8 | extern crate futures; |
|
|||
9 | extern crate libc; |
|
|||
10 | #[macro_use] |
|
|||
11 | extern crate log; |
|
|||
12 | extern crate tokio; |
|
|||
13 | extern crate tokio_hglib; |
|
|||
14 | extern crate tokio_process; |
|
|||
15 | extern crate tokio_timer; |
|
|||
16 |
|
||||
17 | mod attachio; |
|
6 | mod attachio; | |
18 | mod clientext; |
|
7 | mod clientext; | |
19 | pub mod locator; |
|
8 | pub mod locator; |
@@ -6,6 +6,7 b'' | |||||
6 | //! Utility for locating command-server process. |
|
6 | //! Utility for locating command-server process. | |
7 |
|
7 | |||
8 | use futures::future::{self, Either, Loop}; |
|
8 | use futures::future::{self, Either, Loop}; | |
|
9 | use log::debug; | |||
9 | use std::env; |
|
10 | use std::env; | |
10 | use std::ffi::{OsStr, OsString}; |
|
11 | use std::ffi::{OsStr, OsString}; | |
11 | use std::fs::{self, DirBuilder}; |
|
12 | use std::fs::{self, DirBuilder}; |
@@ -3,12 +3,6 b'' | |||||
3 | // This software may be used and distributed according to the terms of the |
|
3 | // This software may be used and distributed according to the terms of the | |
4 | // GNU General Public License version 2 or any later version. |
|
4 | // GNU General Public License version 2 or any later version. | |
5 |
|
5 | |||
6 | extern crate chg; |
|
|||
7 | extern crate futures; |
|
|||
8 | extern crate log; |
|
|||
9 | extern crate tokio; |
|
|||
10 | extern crate tokio_hglib; |
|
|||
11 |
|
||||
12 | use chg::locator::{self, Locator}; |
|
6 | use chg::locator::{self, Locator}; | |
13 | use chg::procutil; |
|
7 | use chg::procutil; | |
14 | use chg::{ChgClientExt, ChgUiHandler}; |
|
8 | use chg::{ChgClientExt, ChgUiHandler}; |
General Comments 0
You need to be logged in to leave comments.
Login now