comparison rust/chg/Cargo.toml @ 44737:e9e44e61042b

rust-chg: upgrade to futures-0.3 based libraries 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() Differential Revision: https://phab.mercurial-scm.org/D8441
author Yuya Nishihara <yuya@tcha.org>
date Fri, 10 Apr 2020 21:54:03 +0900
parents 8685add122ff
children 9fc9526e283a
comparison
equal deleted inserted replaced
44736:8685add122ff 44737:e9e44e61042b
8 8
9 # TODO: enable auto discovery 9 # TODO: enable auto discovery
10 autobins = false 10 autobins = false
11 11
12 [dependencies] 12 [dependencies]
13 bytes = "0.4" 13 async-trait = "0.1"
14 futures = "0.1" 14 bytes = "0.5"
15 futures = "0.3"
15 libc = "0.2" 16 libc = "0.2"
16 log = { version = "0.4", features = ["std"] } 17 log = { version = "0.4", features = ["std"] }
17 tokio = "0.1" 18 tokio-hglib = "0.3"
18 tokio-hglib = "0.2" 19
19 tokio-process = "0.2.3" 20 [dependencies.tokio]
20 tokio-timer = "0.2" 21 version = "0.2"
22 features = ["rt-core", "io-util", "time", "process", "macros"]
21 23
22 [build-dependencies] 24 [build-dependencies]
23 cc = "1.0" 25 cc = "1.0"