# HG changeset patch # User Raphaël Gomès # Date 1637933345 -3600 # Node ID 799fdf4cca80cb9ae40537a90995e6bd163ebc0b # Parent 7e7eaef091c6000b1cdb10eb5784fc7ec96b14ed docs: update Rust readme with a mention of `rhg` Differential Revision: https://phab.mercurial-scm.org/D11811 diff -r 7e7eaef091c6 -r 799fdf4cca80 rust/README.rst --- a/rust/README.rst Fri Nov 26 12:21:03 2021 +0100 +++ b/rust/README.rst Fri Nov 26 14:29:05 2021 +0100 @@ -6,15 +6,18 @@ Rust is not required to use (or build) Mercurial, but using it improves performance in some areas. -There are currently three independent rust projects: -- chg. An implementation of chg, in rust instead of C. -- hgcli. A project that provide a (mostly) self-contained "hg" binary, +There are currently four independent Rust projects: +- chg. An implementation of chg, in Rust instead of C. +- hgcli. A project that provides a (mostly) self-contained "hg" binary, for ease of deployment and a bit of speed, using PyOxidizer. See hgcli/README.md. - hg-core (and hg-cpython): implementation of some - functionality of mercurial in rust, e.g. ancestry computations in + functionality of mercurial in Rust, e.g. ancestry computations in revision graphs, status or pull discovery. The top-level ``Cargo.toml`` file defines a workspace containing these crates. +- rhg: a pure Rust implementation of Mercurial, with a fallback mechanism for + unsupported invocations. It reuses the logic `hg-core` but completely forgoes + interaction with Python. See `rust/rhg/README.md` for more details. Using Rust code ===============