comparison rust/hg-core/Cargo.toml @ 45609:e604a3c03ab9

rust: introduce `dirstate-tree` cargo feature This feature gates (at compile-time) the use of the newly-added dirstate tree. The motivation for this is that the dirstate tree is currently *very* slow; replacing the current hashmap-based dirstate is not a viable solution in terms of performance... and why would you be using the Rust implementation if not for performance? The feature will also help reviewers better understand the differences that will slowly appear as the dirstate tree gets better. Differential Revision: https://phab.mercurial-scm.org/D9132
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 30 Sep 2020 18:10:53 +0200
parents b0d6309ff50c
children 7bd13bf99d1c
comparison
equal deleted inserted replaced
45608:423f17f94f35 45609:e604a3c03ab9
38 38
39 [dev-dependencies] 39 [dev-dependencies]
40 clap = "*" 40 clap = "*"
41 pretty_assertions = "0.6.1" 41 pretty_assertions = "0.6.1"
42 tempfile = "3.1.0" 42 tempfile = "3.1.0"
43
44 [features]
45 # Use a (still unoptimized) tree for the dirstate instead of the current flat
46 # dirstate. This is not yet recommended for performance reasons. A future
47 # version might make it the default, or make it a runtime option.
48 dirstate-tree = []