# Copyright (c) ZeroC, Inc. # Needed for: # comment_width (https://github.com/rust-lang/rustfmt/issues/33459) # enum_discrim_align_threshold (https://github.com/rust-lang/rustfmt/issues/3372) # format_code_in_doc_comments (https://github.com/rust-lang/rustfmt/issues/3348) # format_macro_matchers (https://github.com/rust-lang/rustfmt/issues/3354) # normalize_doc_attributes (https://github.com/rust-lang/rustfmt/issues/3351) # overflow_delimited_expression (https://github.com/rust-lang/rustfmt/issues/3370) # wrap_comments (https://github.com/rust-lang/rustfmt/issues/3347) unstable_features = true max_width = 120 comment_width = 120 single_line_let_else_max_width = 120 format_code_in_doc_comments = true format_macro_matchers = true merge_derives = true imports_granularity = "Module" wrap_comments = true normalize_comments = true normalize_doc_attributes = true overflow_delimited_expr = true use_field_init_shorthand = true use_try_shorthand = true reorder_impl_items = true