Mercurial > hg
view rust/hg-direct-ffi/Cargo.toml @ 42741:4e7bd6180b53
rust-discovery: optionally don't randomize at all, for tests
As seen from Python, this is a new `randomize` kwarg in init of the
discovery object. It replaces random picking by some arbitrary yet
deterministic strategy.
This is the same as what test-setdiscovery.t does, with the added
benefit to be usable both in Python and Rust implementations.
Differential Revision: https://phab.mercurial-scm.org/D6426
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Tue, 21 May 2019 17:43:55 +0200 |
parents | a36c5e23c055 |
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"]