Mercurial > hg
view rust/chg/Cargo.toml @ 41317:4ad002b2584d
config: reject str sections and keys on Python 3
Otherwise we could end up with a dict having both the str
and bytes versions of a particular config item. This may cause
some tests to regress. I haven't checked. But it is better
behavior to fail fast.
We could just as easily change this to normalize the values. But
I like catching all non-compliant call sites first.
Differential Revision: https://phab.mercurial-scm.org/D5649
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 22 Jan 2019 17:08:53 -0800 |
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"