forked from memN0ps/illusion-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rustfmt.toml
15 lines (12 loc) · 855 Bytes
/
rustfmt.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Sets the maximum width of each line to 150 characters.
# If a line exceeds this limit, `rustfmt` will attempt to split it.
max_width = 150
# Controls the maximum width of formatted function calls. If the arguments of a function call exceed this width,
# `rustfmt` will break the function call across multiple lines to comply with the max_width setting.
fn_call_width = 150
# Treats all imports as if they belong to one module, effectively grouping all imports together.
# This can simplify the top of your files by having a single import section.
imports_granularity = "One"
# Combines all imports into a single block, without distinguishing between standard library, external crates, or internal modules.
# This setting avoids separate blocks for different types of imports, creating a cleaner and more concise import section.
group_imports = "One"