1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

feat: format toml

This commit is contained in:
Kevin Amado 2022-01-30 13:26:52 -05:00
parent c07a964d8a
commit 59c879aedb
No known key found for this signature in database
GPG key ID: FFF341057F503148
5 changed files with 194 additions and 66 deletions

18
rustfmt.toml Normal file
View file

@ -0,0 +1,18 @@
edition = "2021"
enum_discrim_align_threshold = 999
format_code_in_doc_comments = true
format_generated_files = true
format_macro_bodies = true
format_macro_matchers = true
format_strings = true
hex_literal_case = "Lower"
imports_granularity = "Crate"
imports_layout = "HorizontalVertical"
max_width = 80
normalize_comments = true
normalize_doc_attributes = true
reorder_impl_items = true
struct_field_align_threshold = 999
unstable_features = true
use_small_heuristics = "Max"
version = "Two"