rust-dnsbox/rustfmt.toml

24 lines
621 B
TOML

# Maximum width of each line
max_width = 100
# Error if unable to get all lines within max_width
error_on_line_overflow = false
# Use tab characters for indentation, spaces for alignment
hard_tabs = true
# Convert /* */ comments to // comments where possible
normalize_comments = false
# Put a trailing comma after a block based match arm (non-block arms are not affected)
match_block_trailing_comma = true
# Replace uses of the try! macro by the ? shorthand
use_try_shorthand = true
# don't screw alignment
ignore = [
'lib/dnsbox-base/src/common_types/types.rs',
'lib/dnsbox-base/src/common_types/classes.rs',
]