chore(rustfmt): change imports_granularity to "Module"

Also includes a Zed config.
This commit is contained in:
Vukašin Vojinović 2026-04-28 17:55:23 +02:00 committed by Jeremy Soller
parent 673e4c949b
commit 17cf4485a9
6 changed files with 55 additions and 39 deletions

10
rustfmt.toml Normal file
View file

@ -0,0 +1,10 @@
edition = "2024"
hard_tabs = true
use_field_init_shorthand = true
# Unstable formatting options below; remove if you REALLY don't wanna use `cargo +nightly fmt`
format_code_in_doc_comments = true
format_strings = true
imports_granularity = "Module"
normalize_comments = true
reorder_impl_items = true
wrap_comments = true