# Custom Formatting Configuration
# See: https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
# Notice, you need a nightly toolchain for correctly formatting
= true # Use true tabs, no spaces for indentation
= "2018" # not necessary for `cargo fmt`, but seems reasonable to have
= false # Do not combine separate #[derives]
= "Unix"
= true # Enforce using shorthand
# Unstable stuff, which is nice to have:
= true # Opt-in into nightly features
= 3 # Allow up to 3 blank lines between items
= true # Always add a comma in matches
= false # Put control expressions in block format
= true # Use blocks for multiline code
= true # (try) formatting macro_rules
= true # Line break long strings
= "Vertical" # Each item on a separate line
= "Item" # Use a single import per module
= "StdExternalCrate" # Group by std, external, self
= true # Put types first in impl blocks
= false # Each field on a separate line