Mercurial > hg
comparison rust/Cargo.lock @ 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 | dbc28c91f7ff |
children | 98a0fbda8739 |
comparison
equal
deleted
inserted
replaced
40271:dbc28c91f7ff | 40272:a36c5e23c055 |
---|---|
25 version = "0.1.0" | 25 version = "0.1.0" |
26 dependencies = [ | 26 dependencies = [ |
27 "cpython 0.1.0 (git+https://github.com/indygreg/rust-cpython.git?rev=c90d65cf84abfffce7ef54476bbfed56017a2f52)", | 27 "cpython 0.1.0 (git+https://github.com/indygreg/rust-cpython.git?rev=c90d65cf84abfffce7ef54476bbfed56017a2f52)", |
28 "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", | 28 "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", |
29 "python27-sys 0.1.2 (git+https://github.com/indygreg/rust-cpython.git?rev=c90d65cf84abfffce7ef54476bbfed56017a2f52)", | 29 "python27-sys 0.1.2 (git+https://github.com/indygreg/rust-cpython.git?rev=c90d65cf84abfffce7ef54476bbfed56017a2f52)", |
30 ] | |
31 | |
32 [[package]] | |
33 name = "hgdirectffi" | |
34 version = "0.1.0" | |
35 dependencies = [ | |
36 "hg-core 0.1.0", | |
37 "libc 0.2.35 (registry+https://github.com/rust-lang/crates.io-index)", | |
30 ] | 38 ] |
31 | 39 |
32 [[package]] | 40 [[package]] |
33 name = "kernel32-sys" | 41 name = "kernel32-sys" |
34 version = "0.2.2" | 42 version = "0.2.2" |