Canonicalize (sort+format) the features in all Cargo.toml files.
Add an experimental CI check that all Cargo.tomls are formatted.
Update style guide to mention the auto-formatting.
Its fine if we dont merge this before the monorepo; this MR is mostly to gather feedback on the formatting.
Are you OK with the canonical format that this introduces? Eventually we should add it to bot fmt.
My only point would be that the default feature looks slightly weird, give that it normally just contains one item. On the other hand, this creates a uniform formatting for all features... WDYT?
I asserted locally that this does not alter the sha256 of the kitchensink runtime.
The CI prints a diff on error to make debugging easier:
Changes:
Cargo.toml
files.Cargo.toml
s are formatted.Its fine if we dont merge this before the monorepo; this MR is mostly to gather feedback on the formatting.
Are you OK with the canonical format that this introduces? Eventually we should add it to
bot fmt
.My only point would be that the
default
feature looks slightly weird, give that it normally just contains one item. On the other hand, this creates a uniform formatting for all features... WDYT?I asserted locally that this does not alter the sha256 of the kitchensink runtime.
The CI prints a diff on error to make debugging easier: