From 85db2b507f3f69b32811c54a89d9ac7bbbc46121 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 3 Jan 2022 03:20:12 -0800 Subject: feat(driver): commit primer --- rustfmt.toml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 rustfmt.toml (limited to 'rustfmt.toml') diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..cdca26c --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,29 @@ +condense_wildcard_suffixes = true +edition = "2021" +enum_discrim_align_threshold = 20 +# error_on_line_overflow = true +# error_on_unformatted = true +fn_single_line = true +force_multiline_blocks = true +format_code_in_doc_comments = true +format_macro_matchers = true +format_strings = true +imports_layout = "HorizontalVertical" +# license_template_path = ".license_template" +match_arm_blocks = false +imports_granularity = "Crate" +newline_style = "Unix" +normalize_comments = true +normalize_doc_attributes = true +reorder_impl_items = true +group_imports = "StdExternalCrate" +reorder_modules = true +report_fixme = "Always" +# report_todo = "Always" +struct_field_align_threshold = 20 +struct_lit_single_line = false +tab_spaces = 2 +use_field_init_shorthand = true +use_try_shorthand = true +where_single_line = true +wrap_comments = true -- cgit v1.2.3