Mercurial > hg
view rust/chg/Cargo.toml @ 50559:48e69a056754
safehasattr: pass attribute name as string instead of bytes
This is a step toward replacing `util.safehasattr` usage with plain `hasattr`.
The builtin function behave poorly in Python2 but this was fixed in Python3.
These change are done one by one as they tend to have a small odd to trigger
puzzling breackage.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 02 Feb 2023 17:21:14 +0100 |
parents | 9fc9526e283a |
children |
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+" edition = "2018" [dependencies] async-trait = "0.1" bytes = "0.5" futures = "0.3" libc = "0.2" log = { version = "0.4", features = ["std"] } tokio-hglib = "0.3" [dependencies.tokio] version = "0.2" features = ["rt-core", "io-util", "time", "process", "macros"] [build-dependencies] cc = "1.0"