forked from kbknapp/cargo-outdated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rustfmt.toml
22 lines (22 loc) · 1.15 KB
/
rustfmt.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# https://rust-lang.github.io/rustfmt/?version=master&search=#edition
edition = "2021"
# https://rust-lang.github.io/rustfmt/?version=master&search=#fn_single_line
fn_single_line = true
# https://rust-lang.github.io/rustfmt/?version=master&search=#format_code_in_doc_comments
format_code_in_doc_comments = true
# https://rust-lang.github.io/rustfmt/?version=master&search=#format_macro_matchers
format_macro_matchers = true
# https://rust-lang.github.io/rustfmt/?version=master&search=#imports_granularity
imports_granularity = "Crate"
# https://rust-lang.github.io/rustfmt/?version=master&search=#normalize_comments
normalize_comments = true
# https://rust-lang.github.io/rustfmt/?version=master&search=#reorder_impl_items
reorder_impl_items = true
# https://rust-lang.github.io/rustfmt/?version=master&search=#unstable_features
unstable_features = true
# https://rust-lang.github.io/rustfmt/?version=master&search=#use_field_init_shorthand
use_field_init_shorthand = true
# https://rust-lang.github.io/rustfmt/?version=master&search=#use_try_shorthand
use_try_shorthand = true
# https://rust-lang.github.io/rustfmt/?version=master&search=#wrap_comments
wrap_comments = true