Mercurial > hg-stable
view rust/hg-direct-ffi/Cargo.toml @ 40272:a36c5e23c055
rust: iterator bindings to C code
In this changeset, still made of Rust code only,
we expose the Rust iterator for instantiation and
consumption from C code.
The idea is that both the index and index_get_parents()
will be passed from the C extension, hence avoiding a hard
link dependency to parsers.so, so that the crate can
still be built and tested independently.
On the other hand, parsers.so will use the symbols
defined in this changeset.
author | Georges Racinet <gracinet@anybox.fr> |
---|---|
date | Thu, 27 Sep 2018 16:51:36 +0200 |
parents | |
children |
line wrap: on
line source
[package] name = "hgdirectffi" version = "0.1.0" authors = ["Georges Racinet <gracinet@anybox.fr>"] description = "Low level Python bindings for hg-core, going through existing C extensions" [dependencies] libc = "*" hg-core = { path = "../hg-core" } [lib] crate-type = ["staticlib"]