Mercurial > hg
comparison rust/hg-cpython/Cargo.toml @ 46588:47557ea79fc7
copies-rust: move CPU-heavy Rust processing into a child thread
… that runs in parallel with the parent thread fetching data.
This can be disabled through a new config. CLI example:
hg --config=devel.copy-tracing.multi-thread=no
For now both threads use the GIL, later commits will reduce this.
Differential Revision: https://phab.mercurial-scm.org/D9684
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Wed, 06 Jan 2021 14:09:01 +0100 |
parents | e604a3c03ab9 |
children | c7c6c11fe1e4 |
comparison
equal
deleted
inserted
replaced
46587:cb4b0b0c6de4 | 46588:47557ea79fc7 |
---|---|
20 # e.g. cargo test --no-default-features --features python27-bin | 20 # e.g. cargo test --no-default-features --features python27-bin |
21 python27-bin = ["cpython/python27-sys"] | 21 python27-bin = ["cpython/python27-sys"] |
22 python3-bin = ["cpython/python3-sys"] | 22 python3-bin = ["cpython/python3-sys"] |
23 | 23 |
24 [dependencies] | 24 [dependencies] |
25 crossbeam-channel = "0.4" | |
25 hg-core = { path = "../hg-core"} | 26 hg-core = { path = "../hg-core"} |
26 libc = '*' | 27 libc = '*' |
27 log = "0.4.8" | 28 log = "0.4.8" |
28 env_logger = "0.7.1" | 29 env_logger = "0.7.1" |
29 | 30 |