| 1 |
# Copyright 2022 The Fuchsia Authors |
| 2 |
# |
| 3 |
# Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0 |
| 4 |
# <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT |
| 5 |
# license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. |
| 6 |
# This file may not be copied, modified, or distributed except according to |
| 7 |
# those terms. |
| 8 |
|
| 9 |
edition = "2024" |
| 10 |
|
| 11 |
# The "Default" setting has a heuristic which splits lines too aggressively. |
| 12 |
# We are willing to revisit this setting in future versions of rustfmt. |
| 13 |
# Bugs: |
| 14 |
# * https://github.com/rust-lang/rustfmt/issues/3119 |
| 15 |
# * https://github.com/rust-lang/rustfmt/issues/3120 |
| 16 |
use_small_heuristics = "Max" |
| 17 |
|
| 18 |
# Prevent carriage returns |
| 19 |
newline_style = "Unix" |
| 20 |
|
| 21 |
imports_granularity = "Crate" |
| 22 |
group_imports = "StdExternalCrate" |