rust/Cargo.toml
author Georges Racinet <georges.racinet@octobus.net>
Mon, 13 Jan 2020 19:31:33 +0100
changeset 44512 166349510398
parent 44484 79ac59d3f73d
child 44641 02f66b23cba3
permissions -rw-r--r--
revlog: using two new functions in C capsule from Rust code We expose `index_length` and `index_node` in the C capsule, so that the Rust representation of the C index can implement the `RevlogIndex` trait. Because our `Node` is actually a one-field struct, we have to decorate it for direct FFI exchange with the C `char*` It would be a good thing to get a length from the C layer, but doing so right now would probably interfere with the upcoming changes that will happen there for the hash length. Differential Revision: https://phab.mercurial-scm.org/D8152
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35569
964212780daf rust: implementation of `hg`
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
     1
[workspace]
44484
79ac59d3f73d setup-rust: remove the legacy 'direct-ffi' variant
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 40978
diff changeset
     2
members = ["hg-core", "hg-cpython"]
40977
98a0fbda8739 rust-cpython: exclude hgcli from workspace
Georges Racinet <gracinet@anybox.fr>
parents: 40272
diff changeset
     3
exclude = ["chg", "hgcli"]