In the Git source code management developers' mailing list, a proposal is being discussed to include components written in Rust into the core of Git and to add Rust to the list of mandatory dependencies required for building Git. The integration of Rust for Git development is suggested to be done similarly to the previous transition to C99 specification support in the Git codebase — initially adding Rust support in a testing mode, and starting from Git 3.0, making it a mandatory part of the build infrastructure.
The integration of Rust support in Git began with the March release of Git 2.49, which included a non-mandatory build interface allowing for the development of Git components in Rust. Two crate packages were added: libgit-sys and libgit, which provide low-level and high-level Rust bindings over the internal libraries used in Git.
In July, a change to the xdiff utility was published in the Git developers' mailing list, adding components in Rust and optimizations that could improve performance by 5-19%. The change note suggested adding Rust to the list of strict dependencies. In July, a decision on this matter was not made, and now a second attempt is being made to raise the issue of promoting Rust to mandatory build dependencies. Judging by the ongoing discussion among Git developers, there are more opponents of such a step than supporters, although there are no strong objections to optional Git support. The main argument against it is the lack of adequate support for all platforms supported in Git in the rustc compiler.
Source: opennet.ru
