Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / rustfmt.toml
rustfmt.toml10 lines · 306 BRaw
| 1 | # Rust formatting. `./format <module>` writes it (cargo fmt); |
| 2 | # `./check <module>` fails on drift (cargo fmt --check). |
| 3 | edition = "2021" |
| 4 | max_width = 100 |
| 5 | hard_tabs = false |
| 6 | use_small_heuristics = "Max" |
| 7 | comment_width = 100 |
| 8 | wrap_comments = false |
| 9 | format_code_in_doc_comments = true |
| 10 | imports_granularity = "Crate" |