File: rustfmt.toml

package info (click to toggle)
rust-cargo-outdated 0.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 384 kB
  • sloc: makefile: 20
file content (22 lines) | stat: -rw-r--r-- 1,176 bytes parent folder | download | duplicates (2)
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