Mercurial's minimum Rust version
Augie Fackler
raf at durin42.com
Thu Apr 28 14:29:21 UTC 2022
I think Debian (at least) has a mechanism to build packages with a newer rustc than they actually distribute.
(Note that both your messages got marked as spam for me!)
> On Apr 27, 2022, at 5:56 AM, Raphaël Gomès <raphael.gomes at octobus.net> wrote:
>
> Hi all,
>
> (Sorry in advance if this mail is a duplicate, we've had trouble with our mailing lists in the past few days)
>
> Mercurial has had Rust code for a few years now. Parts of it used as native extensions to the Python code and others as standalone executables for speed. Some distros have packaged the Rust versions in the past and we expect more to do so in the future.
>
> The current policy for the minimum Rust version in Mercurial is to follow that of Debian Stable. The idea behind the policy is to have a relatively... stable version that should enable most users and distros to use our Rust code without relying on an external toolchain like Rustup, and ease the integration with downstream crates like Ripgrep (only as an example, no effort has been made yet).
>
> Some Mercurial contributors feel like this policy needs to change because it prevents us from upgrading some of our dependencies most of all, but also because we miss out on some niceties in the language (I am not aware of any major changes like async/await was before).
>
> TLDR: does anyone care if we change our minimum Rust version policy to a faster moving target ? Likely Debian Testing, but that's just one idea.
>
> Thanks,
> Raphaël
>
> _______________________________________________
> Mercurial-packaging mailing list
> Mercurial-packaging at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-packaging
More information about the Mercurial-packaging
mailing list