Mercurial > hg
view rust/chg/Cargo.toml @ 42783:c8d3af9c7e65
perf: handle NameError for `pycompat.foo` when pycompat wasn't imported
On old Mercurial versions, we won't have a pycompat variable defined,
and then `pycompat.foo` will raise a NameError.
Differential Revision: https://phab.mercurial-scm.org/D6743
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 19 Aug 2019 10:38:38 -0700 |
parents | 7623199def92 |
children | 1c385b99a360 |
line wrap: on
line source
[package] name = "chg" version = "0.1.0" authors = ["Yuya Nishihara <yuya@tcha.org>"] description = "Client for Mercurial command server with cHg extension" license = "GPL-2.0+" [dependencies] bytes = "0.4" futures = "0.1" libc = "0.2" log = { version = "0.4", features = ["std"] } tokio = "0.1" tokio-hglib = "0.2" # TODO: "^0.2.3" once released. we need AsRawFd support. tokio-process = { git = "https://github.com/alexcrichton/tokio-process" } tokio-timer = "0.2" [build-dependencies] cc = "1.0"