Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
40271:dbc28c91f7ff | 40272:a36c5e23c055 |
---|---|
1 [package] | |
2 name = "hgdirectffi" | |
3 version = "0.1.0" | |
4 authors = ["Georges Racinet <gracinet@anybox.fr>"] | |
5 description = "Low level Python bindings for hg-core, going through existing C extensions" | |
6 | |
7 [dependencies] | |
8 libc = "*" | |
9 hg-core = { path = "../hg-core" } | |
10 | |
11 [lib] | |
12 crate-type = ["staticlib"] |