Re: [PATCH v2 00/17] RFC: Accelerate xdiff and begin its rustification
Show 10 quoted lines
> Le 18 août 2025 à 18:31, Junio C Hamano <gitster@pobox.com> a écrit :
>
> "Ezekiel Newren via GitGitGadget" <gitgitgadget@gmail.com> writes:
>
>> * Code style: Should we adopt a Rust code style of some sort? Perhaps have
>> the code always be formatted by rustfmt in its default configuration?
>
> Sounds sensible. I'll let folks with more Rust inclination to
> figure out what _the_ style should be, but having _a_ style we all
> stick to is good.
While there can be room for configuring the formatter if we have particularly idiosyncratic needs, I’d second going with cargo fmt / rustfmt in default configurations to start (the former is a shortcut for the latter over a whole crate AIUI).