# Run using `rustfmt --write-mode overwrite *.rs` in the
# root of the src directory. You may still get some
# formatting errors (whitespace etc) which should be
# fixed manually before committing.
# Max line length that will be parsed by rustfmt
= 160
# Organise imports in a consistant way
= true
= true
= true
# This can sometimes break when comments include line breaks
= true
# Visually align chained method calls on `.`
= "Visual"
= 40
# Try to place function args on complete lines rather than
# as a vertical block
= "Compressed"
# Allow for compact formatting of struct literals
= 50
= 50
= 20
= "PreferSingle"
# Replace calls to the try! macro with ? syntax
= true
# Allow for full width function calls
= 60