Mercurial > hg
view rust/hg-cpython/Cargo.toml @ 41694:0c7b353ce100
rust-cpython: binding for headrevs()
This uses the core `dagops::retain_heads` to give a Rust implementation
to `mercurial.dagop.headrevs`.
Testing happens for now from `test-rust-ancestors.py`
(for quick and minimal change), but it'd made more sense to put the binary
index data elsewhere and to create a new test python module
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Thu, 10 Jan 2019 18:25:18 +0100 |
parents | 4277e20cfec4 |
children | 326fdce22fb2 |
line wrap: on
line source
[package] name = "hg-cpython" version = "0.1.0" authors = ["Georges Racinet <gracinet@anybox.fr>"] [lib] name='rusthg' crate-type = ["cdylib"] [features] default = ["python27"] python27 = ["cpython/python27-sys", "cpython/extension-module-2-7", "python27-sys", ] python3 = ["python3-sys", "cpython/python3-sys", "cpython/extension-module"] [dependencies] hg-core = { path = "../hg-core" } libc = '*' [dependencies.cpython] version = "*" default-features = false [dependencies.python27-sys] version = "0.2.1" optional = true [dependencies.python3-sys] version = "0.2.1" optional = true