# rustfmt (and cargo fmt) will automatically pick up this config when run in the workspace.
# Note that some items are included here set to their default values. This is to explicitly
# reveal settings for more common options.
# Keep these options sorted in ascending order to ease lookup with rustfmt documentation.
= "2021" # This would normally be picked up from Cargo.toml if not specified here
= 8 # Vertically align enum discriminants
= true # Always print the ABI for extern items (e.g. extern {... will become extern "C" {...)
= false # Always uses spaces for indentation and alignment
= 120 # The maximum width of each line
= false # Do not merge derives into a single line (leave to author discretion).
= "Crate" # Merge imports from a single crate into separate statements.
= "Windows" # Always use Windows line endings '\r\n'
= false # Do not force where type and const before macros and methods in impl blocks.
= true # Do reorder import and extern crate statements alphabetically for readability.
= true # Do reorder mod declarations alphabetically for readability.
= 8 # Vertically align struct fields
= 4 # Use 4 spaces for indentation (Rust default).
= false # Do not use unstable rustfmt features.
= "Max" # Set all granular width settings to the same as max_width (do not use heuristics)
= false # Leave comment formatting to author's discretion