Mercurial > hg
view rust/hg-core/Cargo.toml @ 44080:4e05272dd681
packaging: leverage os.path.relpath() in setup.py
`os.path.relpath()` has existed since Python 2.6, so we can safely use
it. This fixes a bug in the current code when the common prefix is "/"
(in which case `uplevel` would be one less than it should).
Differential Revision: https://phab.mercurial-scm.org/D7875
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 14 Jan 2020 14:18:11 -0800 |
parents | 5ac243a92e37 |
children | 7f86426fdd2c |
line wrap: on
line source
[package] name = "hg-core" version = "0.1.0" authors = ["Georges Racinet <gracinet@anybox.fr>"] description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)" edition = "2018" [lib] name = "hg" [dependencies] byteorder = "1.3.1" lazy_static = "1.3.0" memchr = "2.2.0" rand = "0.6.5" rand_pcg = "0.1.1" rayon = "1.2.0" regex = "1.1.0" twox-hash = "1.5.0"