-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
We use the cargo sort utility to maintain order in our Cargo.toml files. However, this utility also appears to set expectations that go beyond just sorting - it also sets expectations on formatting!
These expectations are rather intrusive, e.g expecting specific newlines here or there, whereas VS Code plugins like "Even Better TOML" will format TOML files differently.
We need to resolve this conflict - cargo sort should stick to ordering and not try have a say about formatting.
Even Better TOML
[package.metadata.cargo_check_external_types]
allowed_external_types = [
"bytesbuf::*",
"ohno::*",
"futures_core::stream::Stream",
]cargo-sort
[package.metadata.cargo_check_external_types]
allowed_external_types = ["bytesbuf::*", "ohno::*", "futures_core::stream::Stream"]Metadata
Metadata
Assignees
Labels
No labels