Granola-Team / mina-indexer

The Mina Indexer is a re-imagined version of the software collectively called the "Mina archive node."
Apache License 2.0
19 stars 10 forks source link

Enhancement: Merge Rust imports using rustfmt #509

Closed jhult closed 8 months ago

jhult commented 8 months ago

Use imports_granularity = "Crate" in rustfmt to merge Rust imports (for cleaner imports).

What this does?

image

Example

image
trevorbernard commented 8 months ago

We should create a rustfmt.toml file for this. I would like to see comments wrapped to 80 chars