And do some trivial fixes:
- BytesMut::put_u32_be() -> put_u32()
- tokio_process -> tokio::process, CommandExt -> Command, spawn_async() -> spawn(), stdin() -> stdin
- tokio_timer::sleep() -> tokio::time::delay_for()
( )
Alphare |
hg-reviewers |
And do some trivial fixes:
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Path | Packages | |||
---|---|---|---|---|
M | rust/chg/Cargo.lock (595 lines) | |||
M | rust/chg/Cargo.toml (14 lines) | |||
M | rust/chg/src/clientext.rs (2 lines) | |||
M | rust/chg/src/locator.rs (10 lines) | |||
M | rust/chg/src/uihandler.rs (12 lines) |
# This file is automatically @generated by Cargo. | # This file is automatically @generated by Cargo. | ||||
# It is not intended for manual editing. | # It is not intended for manual editing. | ||||
[[package]] | [[package]] | ||||
name = "arc-swap" | name = "arc-swap" | ||||
version = "0.4.5" | version = "0.4.5" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "autocfg" | name = "async-trait" | ||||
version = "1.0.0" | version = "0.1.30" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "bitflags" | name = "bitflags" | ||||
version = "1.2.1" | version = "1.2.1" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "byteorder" | |||||
version = "1.3.4" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
[[package]] | |||||
name = "bytes" | name = "bytes" | ||||
version = "0.4.12" | version = "0.5.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "cc" | name = "cc" | ||||
version = "1.0.50" | version = "1.0.50" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "cfg-if" | name = "cfg-if" | ||||
version = "0.1.10" | version = "0.1.10" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "chg" | name = "chg" | ||||
version = "0.1.0" | version = "0.1.0" | ||||
dependencies = [ | dependencies = [ | ||||
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", | "async-trait 0.1.30 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"bytes 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", | "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | "futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", | "tokio 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-hglib 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | "tokio-hglib 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-process 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "cloudabi" | name = "fuchsia-zircon" | ||||
version = "0.0.3" | version = "0.3.3" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "crossbeam-deque" | name = "fuchsia-zircon-sys" | ||||
version = "0.7.3" | version = "0.3.3" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "crossbeam-epoch" | |||||
version = "0.8.2" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"memoffset 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "crossbeam-queue" | name = "futures" | ||||
version = "0.1.2" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-executor 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-io 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-sink 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-task 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "crossbeam-queue" | name = "futures-channel" | ||||
version = "0.2.1" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-sink 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "crossbeam-utils" | name = "futures-core" | ||||
version = "0.6.6" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "crossbeam-utils" | name = "futures-executor" | ||||
version = "0.7.2" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-task 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "fnv" | name = "futures-io" | ||||
version = "1.0.6" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "fuchsia-zircon" | name = "futures-macro" | ||||
version = "0.3.3" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | "proc-macro-hack 0.5.15 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "fuchsia-zircon-sys" | name = "futures-sink" | ||||
version = "0.3.3" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "futures" | name = "futures-task" | ||||
version = "0.1.29" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "hermit-abi" | name = "futures-util" | ||||
version = "0.1.10" | version = "0.3.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-io 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-macro 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-sink 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures-task 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"pin-utils 0.1.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"proc-macro-hack 0.5.15 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"proc-macro-nested 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "iovec" | name = "iovec" | ||||
version = "0.1.4" | version = "0.1.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "kernel32-sys" | name = "kernel32-sys" | ||||
version = "0.2.2" | version = "0.2.2" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "lazy_static" | name = "lazy_static" | ||||
version = "1.4.0" | version = "1.4.0" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "libc" | name = "libc" | ||||
version = "0.2.68" | version = "0.2.69" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
[[package]] | |||||
name = "lock_api" | |||||
version = "0.3.3" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "log" | name = "log" | ||||
version = "0.4.8" | version = "0.4.8" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "maybe-uninit" | name = "memchr" | ||||
version = "2.0.0" | version = "2.3.3" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
[[package]] | |||||
name = "memoffset" | |||||
version = "0.5.4" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "mio" | name = "mio" | ||||
version = "0.6.21" | version = "0.6.21" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", | "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "mio-named-pipes" | name = "mio-named-pipes" | ||||
version = "0.1.6" | version = "0.1.6" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"miow 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | "miow 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "mio-uds" | name = "mio-uds" | ||||
version = "0.6.7" | version = "0.6.7" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "miow" | name = "miow" | ||||
version = "0.2.1" | version = "0.2.1" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", | "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "miow" | name = "miow" | ||||
version = "0.3.3" | version = "0.3.3" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", | "socket2 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "net2" | name = "net2" | ||||
version = "0.2.33" | version = "0.2.33" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "num_cpus" | name = "pin-project-lite" | ||||
version = "1.12.0" | version = "0.1.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"hermit-abi 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "parking_lot" | name = "pin-utils" | ||||
version = "0.9.0" | version = "0.1.0-alpha.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"lock_api 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "parking_lot_core" | name = "proc-macro-hack" | ||||
version = "0.6.2" | version = "0.5.15" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "redox_syscall" | name = "proc-macro-nested" | ||||
version = "0.1.56" | version = "0.1.4" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "rustc_version" | name = "proc-macro2" | ||||
version = "0.2.3" | version = "1.0.10" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", | "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "scopeguard" | name = "quote" | ||||
version = "1.1.0" | version = "1.0.3" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
[[package]] | |||||
name = "semver" | |||||
version = "0.9.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "semver-parser" | name = "redox_syscall" | ||||
version = "0.7.0" | version = "0.1.56" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "signal-hook-registry" | name = "signal-hook-registry" | ||||
version = "1.2.0" | version = "1.2.0" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"arc-swap 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", | "arc-swap 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "slab" | name = "slab" | ||||
version = "0.4.2" | version = "0.4.2" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "smallvec" | |||||
version = "0.6.13" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "socket2" | name = "socket2" | ||||
version = "0.3.11" | version = "0.3.12" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", | "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "tokio" | name = "syn" | ||||
version = "0.1.22" | version = "1.0.17" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-current-thread 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-fs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-tcp 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-udp 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-uds 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-codec" | |||||
version = "0.1.2" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-current-thread" | |||||
version = "0.1.7" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-executor" | |||||
version = "0.1.10" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-fs" | |||||
version = "0.1.7" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-hglib" | |||||
version = "0.2.0" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-process 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-uds 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-io" | |||||
version = "0.1.13" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", | "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | "quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "tokio-process" | name = "tokio" | ||||
version = "0.2.5" | version = "0.2.18" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | "bytes 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | "libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"mio-named-pipes 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | "mio-named-pipes 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-signal 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-reactor" | |||||
version = "0.1.12" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-signal" | |||||
version = "0.2.9" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", | "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"pin-project-lite 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"signal-hook-registry 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | "signal-hook-registry 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | "tokio-macros 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "tokio-sync" | name = "tokio-hglib" | ||||
version = "0.1.8" | version = "0.3.0" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-tcp" | |||||
version = "0.1.4" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||||
dependencies = [ | |||||
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | |||||
name = "tokio-threadpool" | |||||
version = "0.1.18" | |||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", | "async-trait 0.1.30 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | "bytes 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | "futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | "tokio 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | "tokio-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "tokio-timer" | name = "tokio-macros" | ||||
version = "0.2.13" | version = "0.2.5" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | "proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | "quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | "syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "tokio-udp" | name = "tokio-util" | ||||
version = "0.1.6" | version = "0.3.1" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", | "bytes 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"futures-sink 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | "pin-project-lite 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | "tokio 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | ] | ||||
[[package]] | [[package]] | ||||
name = "tokio-uds" | name = "unicode-xid" | ||||
version = "0.2.6" | version = "0.2.0" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | |||||
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
"tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | |||||
] | |||||
[[package]] | [[package]] | ||||
name = "winapi" | name = "winapi" | ||||
version = "0.2.8" | version = "0.2.8" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
[[package]] | [[package]] | ||||
name = "winapi" | name = "winapi" | ||||
source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
dependencies = [ | dependencies = [ | ||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||||
] | ] | ||||
[metadata] | [metadata] | ||||
"checksum arc-swap 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d663a8e9a99154b5fb793032533f6328da35e23aac63d5c152279aa8ba356825" | "checksum arc-swap 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d663a8e9a99154b5fb793032533f6328da35e23aac63d5c152279aa8ba356825" | ||||
"checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" | "checksum async-trait 0.1.30 (registry+https://github.com/rust-lang/crates.io-index)" = "da71fef07bc806586090247e971229289f64c210a278ee5ae419314eb386b31d" | ||||
"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" | "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" | ||||
"checksum byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" | "checksum bytes 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "130aac562c0dd69c56b3b1cc8ffd2e17be31d0b6c25b61c96b76231aa23e39e1" | ||||
"checksum bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" | |||||
"checksum cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)" = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" | "checksum cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)" = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" | ||||
"checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" | "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" | ||||
"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" | |||||
"checksum crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" | |||||
"checksum crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" | |||||
"checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b" | |||||
"checksum crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" | |||||
"checksum crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6" | |||||
"checksum crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" | |||||
"checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" | |||||
"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" | "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" | ||||
"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" | "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" | ||||
"checksum futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" | "checksum futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5c329ae8753502fb44ae4fc2b622fa2a94652c41e795143765ba0927f92ab780" | ||||
"checksum hermit-abi 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "725cf19794cf90aa94e65050cb4191ff5d8fa87a498383774c47b332e3af952e" | "checksum futures-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f0c77d04ce8edd9cb903932b608268b3fffec4163dc053b3b402bf47eac1f1a8" | ||||
"checksum futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f25592f769825e89b92358db00d26f965761e094951ac44d3663ef25b7ac464a" | |||||
"checksum futures-executor 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f674f3e1bcb15b37284a90cedf55afdba482ab061c407a9c0ebbd0f3109741ba" | |||||
"checksum futures-io 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "a638959aa96152c7a4cddf50fcb1e3fede0583b27157c26e67d6f99904090dc6" | |||||
"checksum futures-macro 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "9a5081aa3de1f7542a794a397cde100ed903b0630152d0973479018fd85423a7" | |||||
"checksum futures-sink 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "3466821b4bc114d95b087b850a724c6f83115e929bc88f1fa98a3304a944c8a6" | |||||
"checksum futures-task 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7b0a34e53cf6cdcd0178aa573aed466b646eb3db769570841fda0c7ede375a27" | |||||
"checksum futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "22766cf25d64306bedf0384da004d05c9974ab104fcc4528f1236181c18004c5" | |||||
"checksum iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" | "checksum iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" | ||||
"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" | "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" | ||||
"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" | "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" | ||||
"checksum libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)" = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0" | "checksum libc 0.2.69 (registry+https://github.com/rust-lang/crates.io-index)" = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" | ||||
"checksum lock_api 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "79b2de95ecb4691949fea4716ca53cdbcfccb2c612e19644a8bad05edcf9f47b" | |||||
"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" | "checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" | ||||
"checksum maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" | "checksum memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" | ||||
"checksum memoffset 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b4fc2c02a7e374099d4ee95a193111f72d2110197fe200272371758f6c3643d8" | |||||
"checksum mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)" = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f" | "checksum mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)" = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f" | ||||
"checksum mio-named-pipes 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f5e374eff525ce1c5b7687c4cef63943e7686524a387933ad27ca7ec43779cb3" | "checksum mio-named-pipes 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f5e374eff525ce1c5b7687c4cef63943e7686524a387933ad27ca7ec43779cb3" | ||||
"checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" | "checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" | ||||
"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" | "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" | ||||
"checksum miow 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "396aa0f2003d7df8395cb93e09871561ccc3e785f0acb369170e8cc74ddf9226" | "checksum miow 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "396aa0f2003d7df8395cb93e09871561ccc3e785f0acb369170e8cc74ddf9226" | ||||
"checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" | "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" | ||||
"checksum num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6" | "checksum pin-project-lite 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "237844750cfbb86f67afe27eee600dfbbcb6188d734139b534cbfbf4f96792ae" | ||||
"checksum parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" | "checksum pin-utils 0.1.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5894c618ce612a3fa23881b152b608bafb8c56cfc22f434a3ba3120b40f7b587" | ||||
"checksum parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" | "checksum proc-macro-hack 0.5.15 (registry+https://github.com/rust-lang/crates.io-index)" = "0d659fe7c6d27f25e9d80a1a094c223f5246f6a6596453e09d7229bf42750b63" | ||||
"checksum proc-macro-nested 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8e946095f9d3ed29ec38de908c22f95d9ac008e424c7bcae54c75a79c527c694" | |||||
"checksum proc-macro2 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "df246d292ff63439fea9bc8c0a270bed0e390d5ebd4db4ba15aba81111b5abe3" | |||||
"checksum quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f" | |||||
"checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" | "checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" | ||||
"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" | |||||
"checksum scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" | |||||
"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" | |||||
"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" | |||||
"checksum signal-hook-registry 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41" | "checksum signal-hook-registry 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41" | ||||
"checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" | "checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" | ||||
"checksum smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6" | "checksum socket2 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)" = "03088793f677dce356f3ccc2edb1b314ad191ab702a5de3faf49304f7e104918" | ||||
"checksum socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)" = "e8b74de517221a2cb01a53349cf54182acdc31a074727d3079068448c0676d85" | "checksum syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "0df0eb663f387145cab623dea85b09c2c5b4b0aef44e945d928e682fce71bb03" | ||||
"checksum tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" | "checksum tokio 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)" = "34ef16d072d2b6dc8b4a56c70f5c5ced1a37752116f8e7c1e80c659aa7cb6713" | ||||
"checksum tokio-codec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" | "checksum tokio-hglib 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8d7e2b5d44911ebf67a1044423604f5f69206c5cbbd7e911b4966e6831514bca" | ||||
"checksum tokio-current-thread 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" | "checksum tokio-macros 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f0c3acc6aa564495a0f2e1d59fab677cd7f81a19994cfc7f3ad0e64301560389" | ||||
"checksum tokio-executor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" | "checksum tokio-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" | ||||
"checksum tokio-fs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4" | "checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" | ||||
"checksum tokio-hglib 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8a138c3cb866c8a95ceddae44634bb159eefeebcdba45aec2158f8ad6c201e6d" | |||||
"checksum tokio-io 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" | |||||
"checksum tokio-process 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "382d90f43fa31caebe5d3bc6cfd854963394fff3b8cb59d5146607aaae7e7e43" | |||||
"checksum tokio-reactor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" | |||||
"checksum tokio-signal 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "d0c34c6e548f101053321cba3da7cbb87a610b85555884c41b07da2eb91aff12" | |||||
"checksum tokio-sync 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" | |||||
"checksum tokio-tcp 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" | |||||
"checksum tokio-threadpool 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)" = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" | |||||
"checksum tokio-timer 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" | |||||
"checksum tokio-udp 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" | |||||
"checksum tokio-uds 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "5076db410d6fdc6523df7595447629099a1fdc47b3d9f896220780fa48faf798" | |||||
"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" | "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" | ||||
"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" | "checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" | ||||
"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" | "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" | ||||
"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | ||||
"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | ||||
"checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" | "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" |
[package] | [package] | ||||
name = "chg" | name = "chg" | ||||
version = "0.1.0" | version = "0.1.0" | ||||
authors = ["Yuya Nishihara <yuya@tcha.org>"] | authors = ["Yuya Nishihara <yuya@tcha.org>"] | ||||
description = "Client for Mercurial command server with cHg extension" | description = "Client for Mercurial command server with cHg extension" | ||||
license = "GPL-2.0+" | license = "GPL-2.0+" | ||||
edition = "2018" | edition = "2018" | ||||
# TODO: enable auto discovery | # TODO: enable auto discovery | ||||
autobins = false | autobins = false | ||||
[dependencies] | [dependencies] | ||||
bytes = "0.4" | async-trait = "0.1" | ||||
futures = "0.1" | bytes = "0.5" | ||||
futures = "0.3" | |||||
libc = "0.2" | libc = "0.2" | ||||
log = { version = "0.4", features = ["std"] } | log = { version = "0.4", features = ["std"] } | ||||
tokio = "0.1" | tokio-hglib = "0.3" | ||||
tokio-hglib = "0.2" | |||||
tokio-process = "0.2.3" | [dependencies.tokio] | ||||
tokio-timer = "0.2" | version = "0.2" | ||||
features = ["rt-core", "io-util", "time", "process", "macros"] | |||||
[build-dependencies] | [build-dependencies] | ||||
cc = "1.0" | cc = "1.0" |
} | } | ||||
fn set_process_name(self, name: impl AsRef<OsStr>) -> OneShotRequest<C> { | fn set_process_name(self, name: impl AsRef<OsStr>) -> OneShotRequest<C> { | ||||
OneShotRequest::start_with_args(self, b"setprocname", name.as_ref().as_bytes()) | OneShotRequest::start_with_args(self, b"setprocname", name.as_ref().as_bytes()) | ||||
} | } | ||||
fn set_umask(self, mask: u32) -> OneShotRequest<C> { | fn set_umask(self, mask: u32) -> OneShotRequest<C> { | ||||
let mut args = BytesMut::with_capacity(mem::size_of_val(&mask)); | let mut args = BytesMut::with_capacity(mem::size_of_val(&mask)); | ||||
args.put_u32_be(mask); | args.put_u32(mask); | ||||
OneShotRequest::start_with_args(self, b"setumask2", args) | OneShotRequest::start_with_args(self, b"setumask2", args) | ||||
} | } | ||||
fn run_command_chg<H>( | fn run_command_chg<H>( | ||||
self, | self, | ||||
handler: H, | handler: H, | ||||
args: impl IntoIterator<Item = impl AsRef<OsStr>>, | args: impl IntoIterator<Item = impl AsRef<OsStr>>, | ||||
) -> ChgRunCommand<C, H> | ) -> ChgRunCommand<C, H> |
// Copyright 2011, 2018 Yuya Nishihara <yuya@tcha.org> | // Copyright 2011, 2018 Yuya Nishihara <yuya@tcha.org> | ||||
// | // | ||||
// This software may be used and distributed according to the terms of the | // This software may be used and distributed according to the terms of the | ||||
// GNU General Public License version 2 or any later version. | // GNU General Public License version 2 or any later version. | ||||
//! Utility for locating command-server process. | //! Utility for locating command-server process. | ||||
use futures::future::{self, Either, Loop}; | use futures::future::{self, Either, Loop}; | ||||
use log::debug; | use log::debug; | ||||
use std::env; | use std::env; | ||||
use std::ffi::{OsStr, OsString}; | use std::ffi::{OsStr, OsString}; | ||||
use std::fs::{self, DirBuilder}; | use std::fs::{self, DirBuilder}; | ||||
use std::io; | use std::io; | ||||
use std::os::unix::ffi::{OsStrExt, OsStringExt}; | use std::os::unix::ffi::{OsStrExt, OsStringExt}; | ||||
use std::os::unix::fs::{DirBuilderExt, MetadataExt}; | use std::os::unix::fs::{DirBuilderExt, MetadataExt}; | ||||
use std::path::{Path, PathBuf}; | use std::path::{Path, PathBuf}; | ||||
use std::process::{self, Command}; | use std::process; | ||||
use std::time::Duration; | use std::time::Duration; | ||||
use tokio::prelude::*; | use tokio::prelude::*; | ||||
use tokio::process::{Child, Command}; | |||||
use tokio::time; | |||||
use tokio_hglib::UnixClient; | use tokio_hglib::UnixClient; | ||||
use tokio_process::{Child, CommandExt}; | |||||
use tokio_timer; | |||||
use crate::clientext::ChgClientExt; | use crate::clientext::ChgClientExt; | ||||
use crate::message::{Instruction, ServerSpec}; | use crate::message::{Instruction, ServerSpec}; | ||||
use crate::procutil; | use crate::procutil; | ||||
const REQUIRED_SERVER_CAPABILITIES: &[&str] = &[ | const REQUIRED_SERVER_CAPABILITIES: &[&str] = &[ | ||||
"attachio", | "attachio", | ||||
"chdir", | "chdir", | ||||
.arg(&sock_path) | .arg(&sock_path) | ||||
.arg("--daemon-postexec") | .arg("--daemon-postexec") | ||||
.arg("chdir:/") | .arg("chdir:/") | ||||
.args(&self.hg_early_args) | .args(&self.hg_early_args) | ||||
.current_dir(&self.current_dir) | .current_dir(&self.current_dir) | ||||
.env_clear() | .env_clear() | ||||
.envs(self.env_vars.iter().cloned()) | .envs(self.env_vars.iter().cloned()) | ||||
.env("CHGINTERNALMARK", "") | .env("CHGINTERNALMARK", "") | ||||
.spawn_async() | .spawn() | ||||
.into_future() | .into_future() | ||||
.and_then(|server| self.connect_spawned(server, sock_path)) | .and_then(|server| self.connect_spawned(server, sock_path)) | ||||
.and_then(|(loc, client, sock_path)| { | .and_then(|(loc, client, sock_path)| { | ||||
debug!( | debug!( | ||||
"rename {} to {}", | "rename {} to {}", | ||||
sock_path.display(), | sock_path.display(), | ||||
loc.base_sock_path.display() | loc.base_sock_path.display() | ||||
); | ); | ||||
) -> impl Future<Item = (Self, UnixClient, PathBuf), Error = io::Error> { | ) -> impl Future<Item = (Self, UnixClient, PathBuf), Error = io::Error> { | ||||
debug!("try connect to {} repeatedly", sock_path.display()); | debug!("try connect to {} repeatedly", sock_path.display()); | ||||
let connect = future::loop_fn(sock_path, |sock_path| { | let connect = future::loop_fn(sock_path, |sock_path| { | ||||
UnixClient::connect(sock_path.clone()).then(|res| { | UnixClient::connect(sock_path.clone()).then(|res| { | ||||
match res { | match res { | ||||
Ok(client) => Either::A(future::ok(Loop::Break((client, sock_path)))), | Ok(client) => Either::A(future::ok(Loop::Break((client, sock_path)))), | ||||
Err(_) => { | Err(_) => { | ||||
// try again with slight delay | // try again with slight delay | ||||
let fut = tokio_timer::sleep(Duration::from_millis(10)) | let fut = time::delay_for(Duration::from_millis(10)) | ||||
.map(|()| Loop::Continue(sock_path)) | .map(|()| Loop::Continue(sock_path)) | ||||
.map_err(|err| io::Error::new(io::ErrorKind::Other, err)); | .map_err(|err| io::Error::new(io::ErrorKind::Other, err)); | ||||
Either::B(fut) | Either::B(fut) | ||||
} | } | ||||
} | } | ||||
}) | }) | ||||
}); | }); | ||||
// Copyright 2018 Yuya Nishihara <yuya@tcha.org> | // Copyright 2018 Yuya Nishihara <yuya@tcha.org> | ||||
// | // | ||||
// This software may be used and distributed according to the terms of the | // This software may be used and distributed according to the terms of the | ||||
// GNU General Public License version 2 or any later version. | // GNU General Public License version 2 or any later version. | ||||
use futures::future::IntoFuture; | use futures::future::IntoFuture; | ||||
use futures::Future; | use futures::Future; | ||||
use std::io; | use std::io; | ||||
use std::os::unix::io::AsRawFd; | use std::os::unix::io::AsRawFd; | ||||
use std::os::unix::process::ExitStatusExt; | use std::os::unix::process::ExitStatusExt; | ||||
use std::process::{Command, Stdio}; | use std::process::Stdio; | ||||
use tokio; | use tokio; | ||||
use tokio_process::{ChildStdin, CommandExt}; | use tokio::process::{ChildStdin, Command}; | ||||
use crate::message::CommandSpec; | use crate::message::CommandSpec; | ||||
use crate::procutil; | use crate::procutil; | ||||
/// Callback to process shell command requests received from server. | /// Callback to process shell command requests received from server. | ||||
pub trait SystemHandler: Sized { | pub trait SystemHandler: Sized { | ||||
type PagerStdin: AsRawFd; | type PagerStdin: AsRawFd; | ||||
type SpawnPagerResult: IntoFuture<Item = (Self, Self::PagerStdin), Error = io::Error>; | type SpawnPagerResult: IntoFuture<Item = (Self, Self::PagerStdin), Error = io::Error>; | ||||
} | } | ||||
impl SystemHandler for ChgUiHandler { | impl SystemHandler for ChgUiHandler { | ||||
type PagerStdin = ChildStdin; | type PagerStdin = ChildStdin; | ||||
type SpawnPagerResult = io::Result<(Self, Self::PagerStdin)>; | type SpawnPagerResult = io::Result<(Self, Self::PagerStdin)>; | ||||
type RunSystemResult = Box<dyn Future<Item = (Self, i32), Error = io::Error> + Send>; | type RunSystemResult = Box<dyn Future<Item = (Self, i32), Error = io::Error> + Send>; | ||||
fn spawn_pager(self, spec: CommandSpec) -> Self::SpawnPagerResult { | fn spawn_pager(self, spec: CommandSpec) -> Self::SpawnPagerResult { | ||||
let mut pager = new_shell_command(&spec) | let mut pager = new_shell_command(&spec).stdin(Stdio::piped()).spawn()?; | ||||
.stdin(Stdio::piped()) | let pin = pager.stdin.take().unwrap(); | ||||
.spawn_async()?; | |||||
let pin = pager.stdin().take().unwrap(); | |||||
procutil::set_blocking_fd(pin.as_raw_fd())?; | procutil::set_blocking_fd(pin.as_raw_fd())?; | ||||
// TODO: if pager exits, notify the server with SIGPIPE immediately. | // TODO: if pager exits, notify the server with SIGPIPE immediately. | ||||
// otherwise the server won't get SIGPIPE if it does not write | // otherwise the server won't get SIGPIPE if it does not write | ||||
// anything. (issue5278) | // anything. (issue5278) | ||||
// kill(peerpid, SIGPIPE); | // kill(peerpid, SIGPIPE); | ||||
tokio::spawn(pager.map(|_| ()).map_err(|_| ())); // just ignore errors | tokio::spawn(pager.map(|_| ()).map_err(|_| ())); // just ignore errors | ||||
Ok((self, pin)) | Ok((self, pin)) | ||||
} | } | ||||
fn run_system(self, spec: CommandSpec) -> Self::RunSystemResult { | fn run_system(self, spec: CommandSpec) -> Self::RunSystemResult { | ||||
let fut = new_shell_command(&spec) | let fut = new_shell_command(&spec) | ||||
.spawn_async() | .spawn() | ||||
.into_future() | .into_future() | ||||
.flatten() | .flatten() | ||||
.map(|status| { | .map(|status| { | ||||
let code = status | let code = status | ||||
.code() | .code() | ||||
.or_else(|| status.signal().map(|n| -n)) | .or_else(|| status.signal().map(|n| -n)) | ||||
.expect("either exit code or signal should be set"); | .expect("either exit code or signal should be set"); | ||||
(self, code) | (self, code) |