forked from ferrilab/bitvec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rustfmt.toml
23 lines (22 loc) · 1 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
23
################################################################################
# Rust Style Configuration #
# #
# This file controls the operation of `rustfmt` and `cargo fmt`. As the #
# `rustfmt` tool is still unstable, this file only contains the configurations #
# that are stable as of the pinned Rust version in `rust-toolchain`. The file #
# `rustfmt-nightly.toml` contains the configurations that are available as of #
# the nightly Rust release when that file was last touched. #
################################################################################
edition = "2018"
hard_tabs = true
force_explicit_abi = true
max_width = 81
merge_derives = true
newline_style = "Unix"
remove_nested_parens = true
reorder_imports = true
reorder_modules = true
tab_spaces = 4
use_field_init_shorthand = true
use_small_heuristics = "Default"
use_try_shorthand = true